Edit report at https://bugs.php.net/bug.php?id=62886&edit=1

 ID:                 62886
 Comment by:         chanda at lusakatimes 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:

Me too

Running on Freebsd  9.1 (64 bit) 

$php -v
PHP 5.4.13 (cli) (built: Mar 27 2013 21:17:00) (DEBUG)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

$ php-fpm -v
PHP 5.4.13 (fpm-fcgi) (built: Mar 27 2013 21:17:01) (DEBUG)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies


Previous Comments:
------------------------------------------------------------------------
[2013-04-04 20:42:31] zakrzewskim at wp dot pl

Same to me:

[04-Apr-2013 22:38:37] ERROR: unable to read what child say: Bad file 
descriptor (9)
[04-Apr-2013 22:38:55] ERROR: unable to read what child say: Bad file 
descriptor (9)
[04-Apr-2013 22:38:55] ERROR: unable to read what child say: Bad file 
descriptor (9)
[04-Apr-2013 22:38:55] ERROR: unable to read what child say: Bad file 
descriptor (9)
[04-Apr-2013 22:38:55] ERROR: unable to read what child say: Bad file 
descriptor (9)
[04-Apr-2013 22:38:55] ERROR: unable to read what child say: Bad file 
descriptor (9)
[04-Apr-2013 22:38:55] ERROR: unable to read what child say: Bad file 
descriptor (9)

php-fpm[19644]: segfault at 7fff30199fe0 ip 0000000000574e30 sp 
00007fff30199fb0 error 6 in php-fpm[400000+32a000]
php-fpm[18003]: segfault at 7fff30199fe0 ip 0000000000574e30 sp 
00007fff30199fb0 error 6 in php-fpm[400000+32a000]
php-fpm[9699]: segfault at 7fff30199fe0 ip 0000000000574e30 sp 00007fff30199fb0 
error 6 in php-fpm[400000+32a000]
php-fpm[17649]: segfault at 7fff30199fe0 ip 0000000000574e30 sp 
00007fff30199fb0 error 6 in php-fpm[400000+32a000]
php-fpm[13203]: segfault at 7fff30199fe0 ip 0000000000574e30 sp 
00007fff30199fb0 error 6 in php-fpm[400000+32a000]
php-fpm[21313]: segfault at 7ffeff931fa0 ip 0000000000574e30 sp 
00007ffeff931f70 error 6 in php-fpm[400000+32a000]
php-fpm[4705]: segfault at 7fff84be5fa0 ip 0000000000574e30 sp 00007fff84be5f70 
error 6 in php-fpm[400000+32a000]
php-fpm[24508]: segfault at 7fff84be5fa0 ip 0000000000574e30 sp 
00007fff84be5f70 error 6 in php-fpm[400000+32a000]

[root@onlinecity /]# php -v
PHP 5.4.13 (cli) (built: Mar 14 2013 09:15:29)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
    with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube 
Ltd., and
    with SourceGuardian v9.0.4, Copyright (c) 2000-2012, by Inovica Ltd.

rpm -qi php
Name        : php                          Relocations: (not relocatable)
Version     : 5.4.13                            Vendor: Remi Collet
Release     : 1.el5.remi                    Build Date: czw 14 mar 2013 
09:27:38 CET
Install Date: sob 16 mar 2013 18:44:01 CET      Build Host: 
dixsept.famillecollet.com
Group       : Development/Languages         Source RPM: 
php-5.4.13-1.el5.remi.src.rpm
Size        : 9294225                          License: PHP and Zend and BSD
Signature   : DSA/SHA1, czw 14 mar 2013 09:45:45 CET, Key ID 004e6f4700f97f56
Packager    : http://blog.famillecollet.com/
URL         : http://www.php.net/
Summary     : Osadzany w HTML-u język skryptowy PHP (PHP: preprocesor 
hipertekstu).
Description :
PHP is an HTML-embedded scripting language. PHP attempts to make it
easy for developers to write dynamically generated webpages. PHP also
offers built-in database integration for several commercial and
non-commercial database management systems, so writing a
database-enabled webpage with PHP is fairly simple. The most common
use of PHP coding is probably as a replacement for CGI scripts.

The php package contains the module which adds support for the PHP
language to Apache HTTP Server.

------------------------------------------------------------------------
[2013-03-19 12:28:56] anonymousdude at gmail dot com

[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

------------------------------------------------------------------------
[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

------------------------------------------------------------------------


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

Reply via email to