Bug #74542 [Csd]: Inconsistent php-fpm status page

From: Date: Fri, 23 Dec 2022 14:49:53 +0000
Subject: Bug #74542 [Csd]: Inconsistent php-fpm status page
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-243234@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74542&edit=1 ID: 74542 Updated by: bukka@php.net Reported by: ugurkenar at peakgames dot net Summary: Inconsistent php-fpm status page Status: Closed Type: Bug Package: FPM related Operating System: CentOS Linux release 7.3.1611 PHP Version: 7.0.18 Assigned To: bukka Block user comment: N Private report: N New Comment: For the record my testing was with PHP 8.1 Previous Comments: ------------------------------------------------------------------------ [2022-12-23 14:47:39] bukka@php.net I have done some testing with dynamic process manager under load. My setup can be seen here: https://github.com/bukka/php-util/tree/master/tests/fpm/status-idle-update . Basically starting fpm with max 30 children (taken from the number of processes in gist), then starting nginx and using wrk. After the load test finishes, it show idle children but the scoreboard number was matching for me. There has been various changes since 7.0 fixing some race conditions in status so it is likely that this got fixed as well and it is no longer an issue. I also double checked the code and don't see any obvious race condition. If you still see the problem, please open a new issue on GitHub with steps how to recreate. ------------------------------------------------------------------------ [2017-05-04 13:25:15] ugurkenar at peakgames dot net Description: ------------ php-fpm status page shows inconsistent idle process count. The full status page shows that php-fpm has 0 idle process but all child process state is idle. gist shows the problem. As you can see almost every child process state is idle but "idle processes" metric is 0. https://gist.github.com/eminugurkenar/7bcc2dd50e29ca34ec149ef181edbb9b Also this issue does not exist in php-7.0.12. https://gist.github.com/eminugurkenar/b60affc92c592b0f5f83f8ecfe284d4c ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74542&edit=1

« previous php.bugs (#243234) next »