[php-src] Issue #15787: PHP-FPM Hung in PHP 8.2
| From: | jruston | Date: | Sat, 07 Sep 2024 09:55:23 +0000 |
| Subject: | [php-src] Issue #15787: PHP-FPM Hung in PHP 8.2 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-247717@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/15787
Author: jruston
### Description
I am encountering a strange issue as of PHP 8.2.22, where it seems PHP-FPM suddenly hangs and no
longer responds to web requests. This causes the requests to queue, causing huge server loads. This
is then resolved by restarting the PHP-FPM service.
It's possible that this has occurred in previous versions of 8.2, but it seems to have become
more frequent as of 8.2.22. The issue still occurs in 8.2.23. It appears to be quite a rare issue,
as this is a high traffic server and it only happens once every 7 - 14 days. However, when it does
occur, it is highly disruptive. I have built a script which automatically restarts PHP-FPM if the
server load reaches a certain level which does reduce the disruption, but it would be nice to get
the root issue fixed.
It is quite difficult to provide information on what is happening, because there doesn't seem
to be any segmentation faults. There is nothing noticeable in the logs, and I can't identify
any particular pattern in these events. They occur at different times on different days, with a
variety of traffic loads.
If you have any ideas of how I can collect more information to assist you with fixing it, I'd
love to hear them.
### PHP Version
PHP 8.2.23
### Operating System
AlmaLinux 8.10