Welcome! Log In Create A New Profile

Advanced

[PHP] php-fpm 7.1 child exited with code 70

Posted by Michał Grabowski 
Michał Grabowski
[PHP] php-fpm 7.1 child exited with code 70
January 12, 2017 01:50PM
Hello,
This is my first post here. Unfortunately i couldn't find any help with
Google so i decided to ask for help here.


After upgrading to php 7.1 i have at least one a day log entries like this:

[12-Jan-2017 06:58:21] WARNING: [pool xxx] child 8621 exited with code
70 after 34650.677192 seconds from start
[12-Jan-2017 06:58:24] WARNING: [pool yyy] child 749 exited with code
70 after 1606.741001 seconds from start
[12-Jan-2017 06:58:25] WARNING: [pool aaa] child 16281 exited with code
70 after 21167.097724 seconds from start
[12-Jan-2017 06:58:26] WARNING: [pool bbb] child 28951 exited with code
70 after 16304.440978 seconds from start
[12-Jan-2017 06:58:27] WARNING: [pool ccc] child 3832 exited with code
70 after 13587.031634 seconds from start
[12-Jan-2017 06:58:28] WARNING: [pool dddd] child 11432 exited with
code 70 after 10654.602095 seconds from start
[12-Jan-2017 06:58:29] WARNING: [pool eeee] child 7058 exited with code
70 after 5.385061 seconds from start
[12-Jan-2017 06:58:31] WARNING: [pool ffff] child 28626 exited with
code 70 after 54040.579496 seconds from start
[12-Jan-2017 06:58:41] WARNING: [pool uuuu] child 25614 exited on
signal 9 (SIGKILL) after 4475.137768 seconds from start


Somethimes there is only few entries but somethimes several dozens all in
the same time. Averege is one group like this above per day. This applies
to not all my pools at one but some of them in randow way. Iteresting is
the last one with SIGKILL.

I found this in fpm source code:

https://github.com/php/php-src/blob/master/sapi/fpm/fpm/fpm.h#L29

but i don't have any idea what is responsible for that kind of behaviour
and how to prevent this.
I've tried to minimize pm.max_requests=1000 but without any improvement.

OS: Debian
Kernel: 4.7.9-xxxx-grs-ipv6-64
PHP was build with:

../configure --prefix=/usr/local --libdir=/lib/x86_64-linux-gnu/php7
--with-apxs2=/usr/bin/apxs2 --enable-fpm --disable-cgi
--with-config-file-path=/etc/php7/fpm --disable-ipv6 --with-openssl
--with-kerberos --with-pcre-regex --with-zlib --enable-bcmath
--with-bz2=/usr --disable-calendar --with-curl --with-libxml-dir=/usr
--with-pcre-dir=/usr --with-libxml-dir=/usr --enable-ftp --with-gd=/usr
--with-xpm-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr
--with-freetype-dir=/usr --with-gettext=/usr --with-mhash=/usr
--with-imap=/usr --with-imap-ssl=/usr --enable-mbstring
--with-mcrypt=/usr --with-pdo-mysql=mysqlnd --with-mysqli=mysqlnd
--with-mysql-sock=/var/run/mysqld/mysqld.sock --with-zlib-dir=/usr
--disable-phar --disable-posix --with-readline=/usr --enable-soap
--with-libxml-dir=/usr --disable-sysvmsg --disable-sysvsem
--disable-sysvshm --with-tidy=/usr --with-iconv-dir=/usr --enable-zip
--enable-mysqlnd --without-pear --disable-maintainer-zts --without-xmlrpc
--enable-exif


What does the " exit code 70" mean ? Is this a php bug?

Thank you in advance for your help.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry, only registered users may post in this forum.

Click here to login