php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54015 PHP processes remaining active while they should not
Submitted: 2011-02-14 15:59 UTC Modified: 2013-02-18 00:34 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: linux at spilgames dot com Assigned: fat (profile)
Status: No Feedback Package: FPM related
PHP Version: 5.3.5 OS: CentOS 5.5
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: linux at spilgames dot com
New email:
PHP Version: OS:

 

 [2011-02-14 15:59 UTC] linux at spilgames dot com
Description:
------------
PHP processes are still active even though they are freed up. As soon as a php-fpm 
reload is performed, the number of php processes drops. So seems that php is not 
updating the status of the processes.

extract of the conf file:

pm = dynamic

pm.max_children = 120
pm.start_servers = 20
pm.min_spare_servers = 10
pm.max_spare_servers = 20
pm.max_requests = 1000





Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-10 03:07 UTC] nergalic at ya dot ru
Have the same problem on 5.3.6 and 5.3.5 on CentOS 5.5 (php works as FastCGI on 
nginx). It seems that in one moment php is unable to update process status, so 
new childs processes continue to fork, but other old childs are not dying.

pm = dynamic

pm.max_children = 400
pm.start_servers = 15
pm.min_spare_servers = 10
pm.max_spare_servers = 25
pm.max_requests = 2500
 [2011-07-02 13:58 UTC] fat@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: fat
 [2011-07-02 13:59 UTC] fat@php.net
-Status: Assigned +Status: Feedback
 [2011-07-02 13:59 UTC] fat@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

Can you try the last snapshot please ?

There's have been changes in the way FPM communicates with it children.

Moreover, if the problem continues, please set log_level to debug and send the 
trace. I can't do anything without debug traces.

Thx
++ jerome
 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 12:01:31 2024 UTC