this post was submitted on 18 Jun 2023
113 points (95.2% liked)

Lemmy NSFW

11873 readers
200 users here now

Updates about lemmynsfw.com

founded 1 year ago
MODERATORS
 

I'm not sure how long it took, but for a while the instance had crashed. For some reason the Lemmy photo upload service took up 150GB of free space and hence the server crashed because of it. I'm not sure about the possibility of recurrence as I don't know the exact reason.

For this reason, you can follow our Mastodon account, which I have just opened, to follow or report possible crashes.

https://mastodon.world/@lemmynsfw

you are viewing a single comment's thread
view the rest of the comments
[–] yay@lemmynsfw.com 1 points 1 year ago (1 children)

Pictrs service is the problem. It's storing something on /tmp folder. I think it could be temporary cache of external instance images but not sure.

[–] themoonisacheese@sh.itjust.works 1 points 1 year ago (1 children)

This is a temporary (backup?) file created by imagemagick when converting an image into another format. Create a Cron job to delete /tmp daily?

[–] yay@lemmynsfw.com 1 points 1 year ago (1 children)

But these files should automatically deleted after the process finished. There is a buggy situation and cron job is not an ideal solution i think.

[–] themoonisacheese@sh.itjust.works 1 points 1 year ago (1 children)

I'm actually not sure they are. When I was doing testing to see what makes some pictures not properly rotate, I also ended up with these files. Cron job isn't the solution to the problem, but ti will fix the symptoms.

[–] yay@lemmynsfw.com 1 points 1 year ago

Interesting. I increased memory for now and disk is not increasing right now. I will check later.