Bug #68423 [Com]: PHP-FPM will no longer load all pools
| From: | leo dot feyer at gmail dot com | Date: | Sat, 15 Nov 2014 19:08:39 +0000 |
| Subject: | Bug #68423 [Com]: PHP-FPM will no longer load all pools | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-188614@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68423&edit=1
ID: 68423
Comment by: leo dot feyer at gmail dot com
Reported by: leo dot feyer at gmail dot com
Summary: PHP-FPM will no longer load all pools
Status: Assigned
Type: Bug
Package: FPM related
Operating System: irrevelant
PHP Version: 5.5.19
Assigned To: remi
Block user comment: N
Private report: N
New Comment:
Your patch at http://git.php.net/?p=php-src.git;a=commitdiff;h=1d9bb287c566425a9ab4b8de62940565fe357270
does fix the issue that listen=9000 was listening on IPv6 by default. It is now listening on IPv4
again.
However, it does not fix the initial problem described in this bug report, being that not all of the
five pools are loaded.
Here's the netstat output (pools 9002, 9003 and 9005 are missing):
tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 0 976333 6761/php-fpm.conf)
tcp 0 0 127.0.0.1:9004 0.0.0.0:* LISTEN 0 976334 6761/php-fpm.conf)
Here are the relevant log entries:
Nov 15 20:04:23 w3 php-fpm-5.5.19[6761]: [DEBUG] fpm_scoreboard_init_main(), line 40: got clock tick
'100'
Nov 15 20:04:23 w3 php-fpm-5.5.19[6761]: [DEBUG] fpm_event_init_main(), line 337: event module is
epoll and 1 fds have been reserved
Nov 15 20:04:23 w3 php-fpm-5.5.19[6761]: [NOTICE] fpm_init(), line 83: fpm is running, pid 6761
Nov 15 20:04:23 w3 php-fpm-5.5.19[6761]: [DEBUG] main(), line 1856: Sending "1" (OK) to
parent via fd=5
Nov 15 20:04:23 w3 php-fpm-5.5.19[6761]: [ERROR] fpm_event_epoll_add(), line 177: epoll: unable to
add fd 9
Nov 15 20:04:23 w3 php-fpm-5.5.19[6761]: message repeated 2 times: [ [ERROR] fpm_event_epoll_add(),
line 177: epoll: unable to add fd 9]
Nov 15 20:04:23 w3 php-fpm-5.5.19[6761]: [DEBUG] fpm_pctl_heartbeat(), line 460: heartbeat have been
set up with a timeout of 10000ms
Nov 15 20:04:23 w3 php-fpm-5.5.19[6761]: [DEBUG] fpm_event_loop(), line 366: 118160 bytes have been
reserved in SHM
Nov 15 20:04:23 w3 php-fpm-5.5.19[6761]: [NOTICE] fpm_event_loop(), line 367: ready to handle
connections
Previous Comments:
------------------------------------------------------------------------
[2014-11-15 06:06:14] remi@php.net
Report about the same (?) issue and test for the fix
http://forums.famillecollet.com/viewtopic.php?id=2944
------------------------------------------------------------------------
[2014-11-14 19:18:32] leo dot feyer at gmail dot com
Yes, I got a lot of [ERROR] epoll: unable to add fd 8 and also some [ERROR] epoll: unable to add fd
7.
------------------------------------------------------------------------
[2014-11-14 19:12:43] remi@php.net
Do you have any message in the error_log ?
When I reproduce this issue, I got (because same socket used for all pools):
[14-Nov-2014 17:06:53] ERROR: epoll: unable to add fd 11
------------------------------------------------------------------------
[2014-11-14 19:02:01] leo dot feyer at gmail dot com
No, unfortunately the patch does not make any difference. I have tried it with both
127.0.0.1:<port> and :::<port> as mentioned in https://bugs.php.net/bug.php?id=68420 .
------------------------------------------------------------------------
[2014-11-14 16:34:47] remi@php.net
Can you please try this fix:
http://git.php.net/?p=php-src.git;a=commitdiff;h=23db11976889c3600cf7853fe0fd687a1c9435e6
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=68423
--
Edit this bug report at https://bugs.php.net/bug.php?id=68423&edit=1