Newbie help! - [pool friendica] server reached max_children setting


!Friendica Support - Hi, Hallo - I am quite a newbie when it comes to admining a friendica instance.
I'm running Friendica, version 2026.01. The database version is 1586/1586, the post update version is 1550/1550.

I'm having some peformance issues with my friendica instance - specificically [pool friendica] server reached max_children setting (12) -

I've increase memory limit in /etc/php/8.4/fpm/php.ini to 512M - as in earlier versons this seemed to fix performance issues but that hasn't resolved things. I also increased the max_children setting to 24 in /etc/php/8.4/fpm/pool.d/friendica.conf but this has not improved things. I suspect that this is not the underling cause as I am also seeing errors such as :

[24-May-2026 08:55:16] NOTICE: [pool friendica] child 184612 exited with code 0 after 896.680478 seconds from start
[24-May-2026 08:55:16] NOTICE: [pool friendica] child 186294 started
[24-May-2026 08:55:17] NOTICE: [pool friendica] child 184606 exited with code 0 after 898.334926 seconds from start

The errors seem to be triggered when users view pages on friendica server - (its only used by one or two people)

So my current thought is that for some reason I am getting child processes that are doing database queries maybe that are timing out? I'm not sure how to diagnose that.

Any thoughts ?

in reply to abeorch

I've tracked this down to the peformance of the query function countUnseenItems() in GroupManager.php and have for the moment altered the query so it runs quickly and returns nothing .. but has anyone else seen long running queries pulling from the view post-user-view and any ideas how I could resolve this issue and get the updates for new posts for my circles running again?