php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55551 Inaccurate process count in FPM status page
Submitted: 2011-08-31 12:39 UTC Modified: 2011-08-31 19:37 UTC
From: voro at itacastudio dot com Assigned:
Status: Duplicate Package: FPM related
PHP Version: 5.3.8 OS: Linux (Debian 6.0 w dotdeb pack)
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: voro at itacastudio dot com
New email:
PHP Version: OS:

 

 [2011-08-31 12:39 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-31 12:45 UTC] voro at itacastudio dot com
-Summary: Inaccurate process count in status page +Summary: Inaccurate process count in FPM status page
 [2011-08-31 12:45 UTC] voro at itacastudio dot com
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
 [2011-08-31 19:37 UTC] fat@php.net
-Status: Open +Status: Duplicate
 [2011-08-31 19:37 UTC] fat@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

See https://bugs.php.net/bug.php?id=55486
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC