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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 11:01:30 2024 UTC