293

Hey yall, just wanted to chime in with a quick update on why we were down and have gone down a few times these past few days.

So... for those who don't know a bit on the backend way of how lemmy works right now, it's a lil more than a mess. Lemmy itself uses very little computing resources, you could probably run a decent instance on a toaster (I wouldn't suggest it though) but the problem that arises rapidly is the way photos are managed. The photo database downloads images both that are uploaded and federated. There is an option to disable caching for federated NSFW posts by unchecking enable NSFW within the instance admin panel. That's the only option related disabling federated images as of right now.

You see where I'm going with this, with this instance being as large as it is? Our photo database has been filling up pretty rapidly. We are attempting to troubleshoot solutions to prevent caching all federated content. Unfortunately as our backend team is attempting to figure that out, our pictures database just keeps ballooning more and more.

We have deleted some stuff in hopes to give more time, but we unfortunately have no choice but to migrate to object storage ASAP. Tomorrow there will likely be downtime as we migrate things over, and unfortunately there is no telling how long that will take.

Thank you for being patient and understanding while we navigate this. If you want to see updates to our status when we go down, check out our mastodon page here or come to our matrix public operations channel for updates (link in the sidebar.)

Things should work today though. Emphasis on should.

We are working on open collective still, but hosting this instance does cost money. If you are able to, donations are greatly appreciated. Especially as we will have to factor in object storage into our costs now.

you are viewing a single comment's thread
view the rest of the comments
[-] Innocent_Bystander@lemmynsfw.com 14 points 1 year ago

Please tell me you're not putting the images actually /IN/ the database? Images/files don't belong in the fucking database(we have had customers try to do this and it's the biggest headache to get fixed). You only put LINKS to files in the database.

[-] MikeyMongol@lemmynsfw.com 23 points 1 year ago
[-] beigeoat@lemmy.zip 2 points 1 year ago* (last edited 1 year ago)

I am using object storage on my personal instance, migration should also be relatively simple, pictrs has good documentation.

[-] db0@lemmy.dbzer0.com 9 points 1 year ago

They do not. They just didn't phrase it right

[-] baconboy@lemmynsfw.com 3 points 1 year ago

Other comments seems to suggest otherwise.

[-] db0@lemmy.dbzer0.com 0 points 1 year ago* (last edited 1 year ago)

I am literally hosting one of the biggest lemmy instances and I've been where they are before.I know what I'm talking about

[-] baconboy@lemmynsfw.com 8 points 1 year ago

Then educate us instead of boasting and being negative…

Sharing knowledge > sharing opinions

[-] Anafabula@discuss.tchncs.de 2 points 1 year ago

Lemmy uses pict-rs for image storage, which can store on the filesystem or object storage (filesystem is the default).
Lemmy's default config

this post was submitted on 02 Aug 2023
293 points (98.7% liked)

Lemmy NSFW

11711 readers
4 users here now

Updates about lemmynsfw.com

founded 1 year ago
MODERATORS