Bug #54015 [Asn->Fbk]: PHP processes remaining active while they should not
| From: | fat@php.net | Date: | Sat, 02 Jul 2011 17:59:53 +0000 |
| Subject: | Bug #54015 [Asn->Fbk]: PHP processes remaining active while they should not | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161513@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=54015&edit=1
ID: 54015
Updated by: fat@php.net
Reported by: linux at spilgames dot com
Summary: PHP processes remaining active while they should not
-Status: Assigned
+Status: Feedback
Type: Bug
Package: FPM related
Operating System: CentOS 5.5
PHP Version: 5.3.5
Assigned To: fat
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2011-04-10 03:07:27] 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-02-14 15:59:58] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=54015&edit=1