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.'avatar_cache' => true,
'avatar_cache_path' => '/path/to/a/folder',
/photo/contact
route for the avatar cache, don't I?https://your.server.tld/avatar
(you have to redirect /avatar
) or you have to define avatar_cache_url
.avatar_cache_path
and set avatar_cache
to true. After you deactivate the caching of the avatars in the admin frontend, it should work.https://
? That's never a good idea.
xdebug
and setmode=trace
. Then use e.g.kcachegrind
to analyze it, e.g. which method takes the most time. That might be a start! Yes, you normally want to havexdebug
disabled on live (no development) servers. But this is an exception as high load cannot be simulated properly to find the bottleneck.