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:         Reproducible crash
 Operating System: solaris 9
 PHP Version:      4.4.1
 New Comment:

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:

[EMAIL PROTECTED]: /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.


Previous Comments:
------------------------------------------------------------------------

[2005-11-08 14:37:37] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Threaded Apache2 is not really supported by PHP.
Can your reproduce this when using the prefork MPM?


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

[2005-11-08 11:37:47] david dot micheneau at in-fusio dot com

I use MPM worker.
for information see my compilation conf :
"./configure" \
"--prefix=/opt/local/http-2.0.55" \
"--with-mpm=worker" \
"--disable-ssl" \
"--disable-auth-dbm" \
"--with-perl" \
"--disable-cgid" \
"--enable-cgi" \
"--disable-suexec" \
"--enable-vhost-alias" \
"--disable-ssl" \
"--enable-alias" \
"--enable-proxy" \
"--enable-headers" \
"--enable-sigchild" \
"--enable-rewrite" \
"--enable-so" \

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

[2005-11-08 10:56:51] [EMAIL PROTECTED]

What MPM are you using with Apache2?


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

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

Reply via email to