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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 14:01:29 2024 UTC