|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74542 Inconsistent php-fpm status page
Submitted: 2017-05-04 13:25 UTC Modified: 2022-12-23 14:49 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: ugurkenar at peakgames dot net Assigned: bukka (profile)
Status: Closed Package: FPM related
PHP Version: 7.0.18 OS: CentOS Linux release 7.3.1611
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ugurkenar at peakgames dot net
New email:
PHP Version: OS:


 [2017-05-04 13:25 UTC] ugurkenar at peakgames dot net
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.

Also this issue does not exist in php-7.0.12. 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-05-08 17:11 UTC]
-Package: Unknown/Other Function +Package: FPM related
 [2022-12-23 14:47 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: bukka
 [2022-12-23 14:47 UTC]
I have done some testing with dynamic process manager under load. My setup can be seen here: . 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.
 [2022-12-23 14:49 UTC]
For the record my testing was with PHP 8.1
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 02:01:28 2024 UTC