7
submitted 1 month ago* (last edited 1 week ago) by [email protected] to c/[email protected]

At this moment, friendica.world is not stable. You can experience 504 or 503 errors, or just be unable to load the site.

This is being worked on. We'll keep track of the currently known issues in this post.

Database query tuning

One of the main issues at the moment is the database hanging with many inefficient queries running for minutes or even hours. Most of them are using an inefficient 'NOT IN' or similar construction. We've created an issue for that here: https://github.com/friendica/friendica/issues/14947

Also we've created an issue for many updates to a key-value table: https://github.com/friendica/friendica/issues/14948

Update 30-06-2025

The beforementioned issues were closed, we'll upgrade to 2025.07-RC in order to get the latest fixes and do troubleshooting from there. We'll send the slow qeury logs to the devs.

top 22 comments
sorted by: hot top new old
[-] [email protected] 4 points 1 month ago

Rooting for you! Friendica is by far my preferred way of accessing the Fediverse – and it seems .world is the largest European server on the whole platform, so I really need it to work, aaaaa

[-] [email protected] 5 points 1 month ago

Thanks! We're doing our best. But we also need the github issues solved by the devs. Or others with programming skills

[-] [email protected] 2 points 3 weeks ago
[-] [email protected] 3 points 3 weeks ago

Yes I saw. Looks like they only addressed the example query I provided, and not all 'NOT IN' queries.. looks like I have to submit an issue for every query I find.

[-] [email protected] 2 points 3 weeks ago

Do you have a test instance to check whether the recent change does help?

[-] [email protected] 2 points 3 weeks ago

Yes we do, but it doesn't have the users.. so it can't really be compared.

[-] [email protected] 1 points 2 weeks ago

I really like the local feed! I miss it already.

[-] [email protected] 2 points 2 weeks ago

My instance only has 387 users, but these queries plague mine as well, locking tables for very long times, causing huge stalls.

[-] [email protected] 1 points 1 week ago

@Jerry In the RC/Develop there is the fix that changes one of the ugly queries. Also it contains a coding to prevent executing long queries when another long query is running.

[-] [email protected] 1 points 1 week ago

This is great! Can't wait for the new release! Thanks.

[-] [email protected] 1 points 3 weeks ago

Are there some other friendica based sites experiencing similar problems ?

[-] [email protected] 1 points 3 weeks ago

Not really, there are no Friendica sites with this many users...

[-] [email protected] 1 points 3 weeks ago* (last edited 3 weeks ago)

There is squeet.me with 4,6k users: https://fedi.wrm.sr/instance/squeet.me comparable to the 4k users of friendica.world.

[-] [email protected] 1 points 3 weeks ago

Ah I didn't know that one, they only have 80 mnthly active users though. I'll see if I can contact them

[-] [email protected] 2 points 1 week ago

@ruud @convene_depth It's one of my servers. The active users there are a lot of news bot accounts, besides some users. AFAIK the server runs quiet stable, but I had to tweak the database a lot to make it work.

Also there are some tweaks in the setting (like reducing the number of delivery retrials) to make the system work faster.

[-] [email protected] 1 points 1 week ago

Maybe after I upgraded to the RC we could schedule some time to go over your tweaks together?

[-] [email protected] 1 points 1 week ago

@ruud We can try. I will be on the HOA until Saturday. Because of that I'm not sure how available I will be in that time.

[-] [email protected] 1 points 1 week ago

Continuing this on Matrix.

[-] [email protected] 2 points 1 week ago

Now that 2025.07RC is out had you considered updating to that?

[-] [email protected] 2 points 1 week ago

Yeah, I might as well. Normally I'm reluctant to install RC's but it can't get much worse ;-)

[-] [email protected] 2 points 1 week ago* (last edited 1 week ago)

Please give 2025-07RC a try as main dev was explicitly suggesting that.. And they were asking for Slowquery-log. Could you provide that after updating to RC?

[-] [email protected] 1 points 1 week ago

Will do. Creating extra backup first before upgrade.

this post was submitted on 30 May 2025
7 points (100.0% liked)

Friendica.World status, support and issues

94 readers
1 users here now

This community is for status, support and issues on the Friendica.World instance

founded 1 month ago
MODERATORS