Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. uncategorized
  3. okay, duckduckfedi, new question

okay, duckduckfedi, new question

Scheduled Pinned Locked Moved uncategorized
19 Posts 4 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Guest
    17 days ago

    @alexia owie (and that's why you don't opt for ext4 in 2025)

    A This user is from outside of this forum
    A This user is from outside of this forum
    alexia@starlightnet.work
    wrote 17 days ago last edited by
    #7
    @soop ext4 is solid still, we actually both wanted btrfs but didn't think of it at the time we set everything up.
    ? 1 Reply Last reply 17 days ago
    0
    • A alexia@starlightnet.work
      17 days ago
      @kopper honest to god I just checked with the du command what was taking up so much storage and got flashbanged with 51G /srv/iceshrimp and didn't bother checking any further than that

      but yeah good point we should probably turn that off
      K This user is from outside of this forum
      K This user is from outside of this forum
      kopper@wetdry.world
      wrote 17 days ago last edited by
      #8

      @alexia yeah that'll be media then. the database is harder to clean up but will show up under postgres (assuming you don't have both under the same directory)

      K 1 Reply Last reply 17 days ago
      0
      • K kopper@wetdry.world
        17 days ago

        @alexia yeah that'll be media then. the database is harder to clean up but will show up under postgres (assuming you don't have both under the same directory)

        K This user is from outside of this forum
        K This user is from outside of this forum
        kopper@wetdry.world
        wrote 17 days ago last edited by
        #9

        @alexia https://iceshrimp.dev/iceshrimp/Iceshrimp.NET/src/branch/dev/Iceshrimp.Backend/configuration.ini#L175-L179

        set these to 0 and send an API call to /api/iceshrimp/admin/drive/prune-expired-media (or in the dev versions there should be a button on the admin panel for it, unsure where though)

        A 1 Reply Last reply 17 days ago
        0
        • A alexia@starlightnet.work
          17 days ago
          @soop ext4 is solid still, we actually both wanted btrfs but didn't think of it at the time we set everything up.
          ? Offline
          ? Offline
          Guest
          wrote 17 days ago last edited by
          #10

          @alexia if you just want optimal compression bcachefs is very efficent at that, but the current implementation is still a bit unstable and shaky performance wise so you shouldn't be using it yet, but it's something to note

          A 1 Reply Last reply 17 days ago
          0
          • ? Guest
            17 days ago

            @alexia if you just want optimal compression bcachefs is very efficent at that, but the current implementation is still a bit unstable and shaky performance wise so you shouldn't be using it yet, but it's something to note

            A This user is from outside of this forum
            A This user is from outside of this forum
            alexia@starlightnet.work
            wrote 17 days ago last edited by
            #11
            @soop btrfs with zstd:4 would be more than enough for us, and is considered much more stable.

            Just ask
            @niko what zstd:3 did to her server
            ? 1 Reply Last reply 17 days ago
            0
            • K kopper@wetdry.world
              17 days ago

              @alexia https://iceshrimp.dev/iceshrimp/Iceshrimp.NET/src/branch/dev/Iceshrimp.Backend/configuration.ini#L175-L179

              set these to 0 and send an API call to /api/iceshrimp/admin/drive/prune-expired-media (or in the dev versions there should be a button on the admin panel for it, unsure where though)

              A This user is from outside of this forum
              A This user is from outside of this forum
              alexia@starlightnet.work
              wrote 17 days ago last edited by
              #12
              @kopper I can just /swagger that shit to hit the endpoint no problem

              thank you! ❤
              A 1 Reply Last reply 17 days ago
              0
              • A alexia@starlightnet.work
                17 days ago
                @soop btrfs with zstd:4 would be more than enough for us, and is considered much more stable.

                Just ask
                @niko what zstd:3 did to her server
                ? Offline
                ? Offline
                Guest
                wrote 17 days ago last edited by
                #13

                @alexia @niko I use zstd:9 on my desktop :3 and performance is pretty good still

                ? 1 Reply Last reply 17 days ago
                0
                • ? Guest
                  17 days ago

                  @alexia are you using filesystem compression

                  K This user is from outside of this forum
                  K This user is from outside of this forum
                  kopper@wetdry.world
                  wrote 17 days ago last edited by
                  #14

                  @soop @alexia don't think compression would help a ton here tbh. media files already tend to be really compressed, and postgres also handles some compression (at least for text) on it's own

                  K 1 Reply Last reply 17 days ago
                  0
                  • A alexia@starlightnet.work
                    17 days ago
                    @soop No, unfortunately our VPS uses ext4 so there is no option for transparent filesystem compression

                    I know there is in-place conversion from ext4 to btrfs, but we'd rather not risk bricking
                    everything we host which includes both our fedi and our XMPP which are very important to us

                    Maybe with a future upgrade we'll remember to do btrfs, then use zstd compression there.
                    S This user is from outside of this forum
                    S This user is from outside of this forum
                    sqaaakoi@wetdry.world
                    wrote 17 days ago last edited by
                    #15

                    @alexia @soop btrfs-convert has failed and "ate my data" multiple times (i converted a disk image in place and also tried to make a new filesystem using the --rootdir flag and both times it failed)

                    1 Reply Last reply
                    0
                    • ? Guest
                      17 days ago

                      @alexia @niko I use zstd:9 on my desktop :3 and performance is pretty good still

                      ? Offline
                      ? Offline
                      Guest
                      wrote 17 days ago last edited by
                      #16

                      @alexia @niko fyi once you do get set up with btrfs you'll want to disable the minecraft server\s builtin compression of region files

                      A 1 Reply Last reply 17 days ago
                      0
                      • ? Guest
                        17 days ago

                        @alexia @niko fyi once you do get set up with btrfs you'll want to disable the minecraft server\s builtin compression of region files

                        A This user is from outside of this forum
                        A This user is from outside of this forum
                        alexia@starlightnet.work
                        wrote 17 days ago last edited by
                        #17
                        @soop Yes, I am aware.
                        1 Reply Last reply
                        0
                        • K kopper@wetdry.world
                          17 days ago

                          @soop @alexia don't think compression would help a ton here tbh. media files already tend to be really compressed, and postgres also handles some compression (at least for text) on it's own

                          K This user is from outside of this forum
                          K This user is from outside of this forum
                          kopper@wetdry.world
                          wrote 17 days ago last edited by
                          #18

                          @soop @alexia looking into it a bit more, it seems like may actually help postgres in terms of disk space, but i'm unsure how much the perf regressions would be worth it

                          1 Reply Last reply
                          0
                          • A alexia@starlightnet.work
                            17 days ago
                            @kopper I can just /swagger that shit to hit the endpoint no problem

                            thank you! ❤
                            A This user is from outside of this forum
                            A This user is from outside of this forum
                            alexia@starlightnet.work
                            wrote 17 days ago last edited by
                            #19
                            @kopper it is now slowly deleting 50G of data

                            and that would be most of our space reclaimed then
                            ​​
                            1 Reply Last reply
                            0
                            • M magiclike@soc.sekundenklebertransportverbot.de shared this topic 17 days ago
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes

                            16/19

                            30 Apr 2025, 10:50


                            • Login

                            • Login or register to search.
                            Powered by NodeBB Contributors
                            16 out of 19
                            • First post
                              16/19
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups