Edit report at https://bugs.php.net/bug.php?id=62886&edit=1
ID: 62886 Comment by: anonymousdude at gmail dot com Reported by: pierre at archlinux dot de Summary: PHP-FPM may segfault/hang on startup Status: Closed Type: Bug Package: FPM related Operating System: Arch Linux PHP Version: 5.4.6 Assigned To: fat Block user comment: N Private report: N New Comment: [19-Mar-2013 08:22:54] NOTICE: Reloading in progress ... [19-Mar-2013 08:22:54] ERROR: unable to read what child say: Bad file descriptor (9) [19-Mar-2013 08:22:54] ERROR: unable to read what child say: Bad file descriptor (9) [19-Mar-2013 08:22:54] ERROR: unable to read what child say: Bad file descriptor (9) [19-Mar-2013 08:22:54] ERROR: unable to read what child say: Bad file descriptor (9) [19-Mar-2013 08:22:54] ERROR: unable to read what child say: Bad file descriptor (9) [19-Mar-2013 08:22:54] ERROR: unable to read what child say: Bad file descriptor (9) [19-Mar-2013 08:22:54] NOTICE: reloading: execvp("php-fpm", {"php-fpm", "-- daemonize"}) [19-Mar-2013 08:22:55] NOTICE: using inherited socket fd=7, "127.0.0.1:9000" [19-Mar-2013 08:22:55] NOTICE: using inherited socket fd=7, "127.0.0.1:9000" [19-Mar-2013 08:22:55] NOTICE: fpm is running, pid 25134 [19-Mar-2013 08:22:55] NOTICE: ready to handle connections [root@ID11878 php-fpm]# [root@ID11878 php-fpm]# php -v PHP 5.4.13 (cli) (built: Mar 14 2013 08:57:49) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies Previous Comments: ------------------------------------------------------------------------ [2012-10-23 12:23:54] slim at inbox dot lv did some another tests on other kernel and patch looks fine for me too ------------------------------------------------------------------------ [2012-10-09 14:42:41] slim at inbox dot lv still same problem with the patch on high loaded php. in logs: [09-Oct-2012 03:11:40] NOTICE: Reloading in progress ... [09-Oct-2012 03:11:40] ERROR: unable to read what child say: Bad file descriptor (9) [09-Oct-2012 03:11:40] ERROR: unable to read what child say: Bad file descriptor (9) [09-Oct-2012 03:11:40] ERROR: unable to read what child say: Bad file descriptor (9) ------------------------------------------------------------------------ [2012-10-02 17:19:57] per at techspot dot com Confirmed working on my testserver, thank you! The patch has already been backported into remi's repository, both v5.4 & v5.3 http://rpms.famillecollet.com/enterprise/6/remi/x86_64/repoview/php.html ------------------------------------------------------------------------ [2012-09-29 05:35:51] f...@php.net done ! ------------------------------------------------------------------------ [2012-09-28 18:34:29] per at techspot dot com fat: you can probably link this fix to bug #62937 aswell. APC is listed in that bug report, but any opcode cacher just makes this problem with php-fpm surface more regularly due to the increased concurrency... Thanks for the fix! (I'll wait for it's inclusion in the next PHP release though) ------------------------------------------------------------------------ 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=62886 -- Edit this bug report at https://bugs.php.net/bug.php?id=62886&edit=1