Hi !Friendica Admins ,
I'm currently tracing down performance issues, I' currently suffering from on my nodes opensocial.at and friendica.me .
It seems like the main performance problems are
You can see some peeks and some long runners here:
The long runners (10sec) are the /inbox requests, the peaks are delivering photos after opening conversations, network pane, ...
Do you have any hints how I could improve these two types of requests?
The database is currently using ~50GB RAM, I set them as high as possible.
'decoupled_receiver' => true,in your config. Then the inbox requests would be much faster. Then the processing is done via worker processes.
Roland Häder and Philipp Holzer like this.
'avatar_cache' => true, 'avatar_cache_path' => '/path/to/a/folder',
/photo/contactroute for the avatar cache, don't I?
https://your.server.tld/avatar(you have to redirect
/avatar) or you have to define
avatar_cacheto true. After you deactivate the caching of the avatars in the admin frontend, it should work.
Philipp Holzer and Roland Häder like this.
https://? That's never a good idea.
mode=trace. Then use e.g.
kcachegrindto analyze it, e.g. which method takes the most time. That might be a start! Yes, you normally want to have
xdebugdisabled on live (no development) servers. But this is an exception as high load cannot be simulated properly to find the bottleneck.