7
submitted 10 months ago* (last edited 10 months ago) by cole to c/lemdroid

Earlier today, I identified the root cause of an issue causing annoying 502 errors intermittently. If you've ever had an action infinitely load until you refreshed the page, that is this issue. I deployed a fix, and am slowly scaling it down to stress test it. If you encounter an infinite loading occurrence or an HTTP 502 error please let me know!

UPDATE: Stress testing complete. Theoretically we should be equipped to handle another 5k users without any intervention from me

top 8 comments
sorted by: hot top controversial new old
[-] Im28xwa 2 points 10 months ago

Well some images on my feed are still not loading when I tap on the thumbnail that didn't load either

[-] cole 3 points 10 months ago

Yeah there are some images missing from an 8 hour timespan while I was migrating us to S3 backed image storage. Not really worth time trying to recover a few thumbnails though when I have other infrastructure things I could be focusing on

[-] ladfrombrad 1 points 10 months ago

Is it this post you're referring too?

There was a recent migration of the /pictrs folder here and some thumbnails didn't get stored whilst submissions were still occuring, and I'm not sure editing a database is wise to fix it. Disclaimer, am numpty.

[-] Im28xwa 2 points 10 months ago

Nope from other instances like this one and this one and this and this and this one is in android community and this and this, ok I think this is enough

[-] cole 3 points 10 months ago

yeah, all images federated or uploaded in that time span are lost. Weird how it works but actually this server caches all images from others

[-] Im28xwa 1 points 10 months ago

That's really weird doesn't the server automatically re-fetch the images and thumbnails from the other instances when the cached ones are gone?

[-] cole 2 points 10 months ago

you'd think so, right? Lemmy has a lot of quirks

[-] Im28xwa 2 points 10 months ago

Yeah and taking a quick look at the GitHub repository there is a lot of space for improvement

this post was submitted on 20 Jul 2023
7 points (100.0% liked)

Lemdroid

597 readers
1 users here now

Announcements and news regarding lemdro.id

founded 10 months ago
MODERATORS