this post was submitted on 16 Mar 2024
1 points (100.0% liked)
lemmus
188 readers
2 users here now
For all posts related to the lemmus.org instance.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This issue should be fixed now. Let me know if you continue to see any issues.
For the technical details:
Pictrs is used for managing images in Lemmy. It uses a Sqlite database on the local filesystem which limits its scalability. After a recent upgrade, it does now support migrating this data into Postgresql. I'm hoping to schedule some time soon to perform the update. This will allow multiple instances of Pictrs to be run in parallel providing better uptime and recovery.
What happens here is that the service gets into a bad state and it tries to bring up a replacement. But due to the local DB, the replacement is unable to get a lock on the filesystem and crashes. Once we switch it to use Postgres, this should no longer be an issue.
Awesome cheers for that!