

that was actually mostly a pg-bouncer. I have no idea why it is happening though…
I just have a script that checks for this line and restarts php-fpm if necessary:
#!/bin/bash
lineCount=`tail -n 1 /var/log/postgresql/pgbouncer.log | grep query_wait_timeout | wc -l`
if [ $lineCount -gt 0 ]; then
systemctl restart php8.3-fpm.service
logger "Restarting php because pgbouncer has query_wait_timeout messages"
else
echo "No"
fi

























I am using conduit as a matrix server and fluffy chat as my main app. I think that most people could be happy with that :)