[WARNING] fpm_children_bury(), line 215: child 5202 (pool name) exited with code 255 after 9163.403572 seconds from start

435 views
Skip to first unread message

ist...@nurfuerspam.de

unread,
Jan 12, 2009, 7:08:20 AM1/12/09
to highload-php-en
I got a warning in my php-fpm.log, saying:

[WARNING] fpm_children_bury(), line 215: child 5202 (pool name) exited
with code 255 after 9163.403572 seconds from start


I suppose this is due it has hit its limit of requests to be served
and is nothing to be worried about?

Andrei Nigmatulin

unread,
Jan 12, 2009, 7:33:56 AM1/12/09
to highloa...@googlegroups.com

No. If that was a limit of requests error code would be 0 and severity of
message would be "NOTICE".

Exit code 255 usually means that cgi_main.c:main() has finished with "return
FAILURE". There are many such places in the code, and it's difficult to track
your case using a single message. Is that the only warning in log file ?


--
Andrei Nigmatulin
GPG PUB KEY 6449830D

Now I lay me down to sleep(3)
Pray the OS my core to keep
If I die before I wake
Pray the Disk my core to take

ist...@nurfuerspam.de

unread,
Jan 12, 2009, 4:49:17 PM1/12/09
to highload-php-en


On 12 Jan., 13:33, Andrei Nigmatulin <andrei.nigmatu...@gmail.com>
wrote:
Yes, theres only this one with exit code 255. There however are 40
other
that exit with SIGTERM 15:

Jan 12 00:16:29.425007 [WARNING] fpm_children_bury(), line 215: child
27819 (pool name) exited on signal 15 SIGTERM after 3272.959245
seconds
from start


These are mostly from the most active pool but also the other pools do
sometimes exit with that code.

thanks and best regards

Andrei Nigmatulin

unread,
Jan 12, 2009, 5:34:07 PM1/12/09
to highloa...@googlegroups.com
On Tuesday 13 January 2009 00:49, ist...@nurfuerspam.de wrote:
> On 12 Jan., 13:33, Andrei Nigmatulin <andrei.nigmatu...@gmail.com>
>
> wrote:
> > On Monday 12 January 2009 15:08, iste...@nurfuerspam.de wrote:
> > > I got a warning in my php-fpm.log, saying:
> > >
> > > [WARNING] fpm_children_bury(), line 215: child 5202 (pool name) exited
> > > with code 255 after 9163.403572 seconds from start
> > >
> > > I suppose this is due it has hit its limit of requests to be served
> > > and is nothing to be worried about?
> >
> > No. If that was a limit of requests error code would be 0 and severity of
> > message would be "NOTICE".
> >
> > Exit code 255 usually means that cgi_main.c:main() has finished with
> > "return FAILURE". There are many such places in the code, and it's
> > difficult to track your case using a single message. Is that the only
> > warning in log file ?
> >
> Yes, theres only this one with exit code 255. There however are 40
> other
> that exit with SIGTERM 15:
>
> Jan 12 00:16:29.425007 [WARNING] fpm_children_bury(), line 215: child
> 27819 (pool name) exited on signal 15 SIGTERM after 3272.959245
> seconds
> from start

This could happen when php-fpm is stoped with '/usr/local/sbin/php-fpm stop'
or restarted with '/usr/local/sbin/php-fpm restart'.

In this case php processes are killed immediately even if requests are
executing. And user gets 502 error, which is probably not what you want. To
prevent this situation please use 'quit' and 'reload' commands
correspondingly.

Reply all
Reply to author
Forward
0 new messages