[Bug 1288129] [NEW] reload -> unable to read what child say: Bad file descriptor (9)

Florian Engelmann engelmann at d-g-c.de
Wed Mar 5 09:02:56 UTC 2014


Public bug reported:

OS: Ubuntu 12.04.2 LTS
Kernel: 3.5.0-43-generic #66~precise1-Ubuntu x86_64 GNU/Linux
php5-fpm:  5.3.10-1ubuntu3.10

Sometimes php-fpm crashes with:

[04-Mar-2014 06:47:45] NOTICE: Finishing ...
[04-Mar-2014 06:47:45] ERROR: unable to read what child say: Bad file descriptor (9)
[04-Mar-2014 06:47:45] ERROR: unable to read what child say: Bad file descriptor (9)
[04-Mar-2014 06:47:45] NOTICE: exiting, bye-bye!

"service php5-fpm reload" also causes a crash (sometimes):

[05-Mar-2014 09:56:04] NOTICE: Reloading in progress ...
[05-Mar-2014 09:56:04] ERROR: unable to read what child say: Bad file descriptor (9)
[05-Mar-2014 09:56:04] ERROR: unable to read what child say: Bad file descriptor (9)
[05-Mar-2014 09:56:04] NOTICE: reloading: execvp("/usr/sbin/php5-fpm", {"/usr/sbin/php5-fpm", "--fpm-config", "/etc/php5/fpm/php-fpm.conf"})
[05-Mar-2014 09:56:04] NOTICE: PHP message: PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/fpm/conf.d/ming.ini on line 1 in Unknown on line 0
[05-Mar-2014 09:56:04] NOTICE: using inherited socket fd=9, "/var/run/php-fpm-jti.sock"
[...]
[05-Mar-2014 09:57:02] NOTICE: Reloading in progress ...
[05-Mar-2014 09:57:02] ERROR: unable to read what child say: Bad file descriptor (9)
[05-Mar-2014 09:57:36] NOTICE: fpm is running, pid 61663
[05-Mar-2014 09:57:36] NOTICE: ready to handle connections

This might be ralted to bug:
https://bugs.php.net/bug.php?id=65800

And could be fixed with:
http://us-east.manta.joyent.com/bcantrill/public/OS-2517.diff.txt

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1288129

Title:
  reload -> unable to read what child say: Bad file descriptor (9)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1288129/+subscriptions



More information about the Ubuntu-server-bugs mailing list