PHP 5.3.x with php-fpm kills the socket but children are still alive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PHP-FPM |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
I compiled php 5.3.1RC3 and then php 5.3.0 with the old php-fpm and also with the new one but I suffer from the same problem. I run php-fpm with a socket /tmp/php-5.3.x.sock and that setup was working fine on ubuntu 9.04 but as I updated recently to ubuntu 9.10 I am getting the following problem:
I have monit monitor the php-fpm process and until now I had it monitor only the PID file. Today I was surprised to find that nginc was giving me 502 errors when the monit service did not complain that php-fpm was down. When I checked, yes, php-fpm was running as the children were alive but the socket file was not there and obvious not able to server requests. Upon php-fpm restart, everything works as expected until upto an hour later when this happens again. So for the moment I updated monit to also check the socket and restart php-fpm if the socket becomes unavailable.
So how can I go about debugging this problem and what to information to privide? Should I just switch to TCP? Thanks.
P.S.
No errors in the log of php-fpm and nginx only reports the bad gateway (502) error and nothing pertaining to why the PHP process destroyed the socket file.
This doesn't just effect Ubuntu. I'm having the same problem on CentOS...