Bug #55551 [Opn]: Inaccurate process count in FPM status page
| From: | voro at itacastudio dot com | Date: | Wed, 31 Aug 2011 12:45:50 +0000 |
| Subject: | Bug #55551 [Opn]: Inaccurate process count in FPM status page | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-163189@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55551&edit=1
ID: 55551
User updated by: voro at itacastudio dot com
Reported by: voro at itacastudio dot com
-Summary: Inaccurate process count in status page
+Summary: Inaccurate process count in FPM status page
Status: Open
Type: Bug
Package: FPM related
Operating System: Linux (Debian 6.0 w dotdeb pack)
PHP Version: 5.3.8
Block user comment: N
Private report: N
New Comment:
Test script sample result:
host:/tmp# ps -ef |grep -c "php-fpm: pool" && wget -qO-
http://localhost/fpm_status | grep proces
14
process manager: dynamic
idle processes: 64
active processes: 1
total processes: 65
max active processes: 8
Previous Comments:
------------------------------------------------------------------------
[2011-08-31 12:39:45] voro at itacastudio dot com
Description:
------------
FPM has a status page like Apache or Nginx showing the number of processes it has spawned, how many
are idle, how may are running, etc.
The number in that page is wrong since last week (5.3.7/5.3.8 upgrade)
see linked image
http://i.imgur.com/K8hVj.png
Test script:
---------------
ps -ef |grep -c "php-fpm: pool" && wget -qO- http://localhost/fpm_status | grep process
Expected result:
----------------
Matching values in ps and status page.
Actual result:
--------------
Very different numbers. I bet ps is right and fpm status page is buggy.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55551&edit=1