Hello, I have 160GB to run Lemmy but I saw that as much as 77GB is used by pictrs.

Is there any way to clear the image cache or delete any pictures that are too heavy?

Also 37GB for postgres seems like a lot to me, is there any cache or temporary file that can be cleared?

edit: I am using Lemmy 0.18.5

  • txmyx@feddit.de
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    2 years ago
    1. Upgrade your storage. 160GB is nothing and 1TB SSDs are cheap
    2. You could delete pictures, but then the posts are broken
    3. You could archive old pictures. The pictures will have a longer load-time. Also I don’t think archiving pictures is a feature of lemmy, so you would have to implement it yourself

    Edit: I think postgres is so big, because of backups. You could delete those, but that’s risky

    • skariko@feddit.itOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      Thank you for your answer!

      Since I currently use Hetzner the only way to get more space is to upgrade the server (at a not inconsiderable cost).

      The alternative might be to purchase SSD block storage volumes which are definitely lower priced (5€ per month for 100GB) however it would be interesting to know if there is a guide for Lemmy for this or if others have had positive experience doing this.