#35137 [Fbk->Opn]: crash with graceful restart
| From: | david dot micheneau at in-fusio dot com | Date: | Wed, 09 Nov 2005 07:59:34 +0000 |
| Subject: | #35137 [Fbk->Opn]: crash with graceful restart | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-87902@lists.php.net to get a copy of this message | ||
ID: 35137
User updated by: david dot micheneau at in-fusio dot com
Reported By: david dot micheneau at in-fusio dot com
-Status: Feedback
+Status: Open
Bug Type: Apache2 related
Operating System: solaris 9
PHP Version: 4.4.1
New Comment:
i'll try to compile with Apache-1.3...i've read an article about oracle
instant client, and Apache foundation recommand to use Apache 1.3 with
oci8 driver:
http://www.oracle.com/technology/pub/notes/technote_php_instant.html
Previous Comments:
------------------------------------------------------------------------
[2005-11-08 17:04:35] sniper@php.net
So, what makes you think this is a PHP problem?
------------------------------------------------------------------------
[2005-11-08 15:23:39] david dot micheneau at in-fusio dot com
oups...sorry i forget to recompile PHP.
So a new comportment with prefork option.
[Tue Nov 08 15:20:25 2005] [error] (12)Not enough space: fork: Unable
to fork new process
But we have enought space on the server:
root@longnose: /home/hot/php-4.4.1 >df -h
Système de fichiers taille utilisé dispo capacité Monté sur
/dev/md/dsk/d0 4,8G 4,2G 556M 89% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
swap 16M 40K 16M 1% /var/run
swap 158M 142M 16M 90% /tmp
/dev/md/dsk/d7 26G 5,8G 20G 23% /data
And now it's impossible to stop Apache correctly...i've 29 httpd
process before the error message in logs.
------------------------------------------------------------------------
[2005-11-08 14:37:37] sniper@php.net
Did you reconfigure/compile PHP?
------------------------------------------------------------------------
[2005-11-08 14:30:13] david dot micheneau at in-fusio dot com
Yes same problem with prefork MPM.
See the back trace:
(gdb) bt
#0 0xf96eeddc in php_apache_sapi_header_handler
(sapi_header=0xffbfebd8, sapi_headers=0x185248, tsrm_ls=0x24c9ee)
at /home/hot/php-4.4.1/sapi/apache2handler/sapi_apache2.c:104
#1 0xf96a29b8 in sapi_header_op (op=SAPI_HEADER_ADD, arg=0x0,
tsrm_ls=0x188378) at /home/hot/php-4.4.1/main/SAPI.c:679
#2 0xf96a2608 in sapi_add_header_ex (header_line=0x0,
header_line_len=0, duplicate=120 'x', replace=0 '\0',
tsrm_ls=0x188378)
at /home/hot/php-4.4.1/main/SAPI.c:487
(gdb)
------------------------------------------------------------------------
[2005-11-08 11:48:55] sniper@php.net
Threaded Apache2 is not really supported by PHP.
Can your reproduce this when using the prefork MPM?
------------------------------------------------------------------------
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
http://bugs.php.net/35137
--
Edit this bug report at http://bugs.php.net/?id=35137&edit=1