I recently had to expand my instance’s storage size from 25 GB to 50 GB because it was out of space. How much storage do you all use for your instances? I’m a little surprised that it ran out of space as my instance isn’t heavily used.

Am I doing something wrong? I prune all the unused docker images, so it’s not that.

    • Dessalines
      link
      fedilink
      7
      edit-2
      2 years ago

      Pretty much nothing, postgres volumes folder is ˜500MB, but that really doesn’t change much. Remember that text data really doesn’t take up much space: all of english wikipedia is about 20 GB.

      Picture storage in pictrs is the main issue. The only thing I could suggest there, is to use either a remotely running pictrs, or to use sshfs to mount the pictrs volumes folder to a remote machine (non-VPS) that has a ton of storage.

      • poVoq
        link
        fedilink
        22 years ago

        Would it be possible to add some client side code to downscale and compless pictures before upload? Doing it on the server can be quite resource intensive…

        • Dessalines
          link
          fedilink
          22 years ago

          I really don’t want to add a photo editing suite to lemmy-ui. Picture and video processing is something that should be done as much as possible on the server.

  • @[email protected]
    link
    fedilink
    72 years ago

    I do

    • remove pictrs temp files /tmp/magick-*
    • recompress overly large image files
    • truncate docker logs which frees up a lot of space
    • @[email protected]
      link
      fedilink
      12 years ago

      recompress overly large image files

      When I was looking at some very old posts from feddit.de they had terrible jpg compression artifacts, is this the reason?