#35137 [Fbk->Opn]: Apache crash with command graceful

2005-11-08 Thread david dot micheneau at in-fusio dot com
 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   556M89%/
/proc0K 0K 0K 0%/proc
mnttab   0K 0K 0K 0%/etc/mnttab
fd   0K 0K 0K 0%/dev/fd
swap16M40K16M 1%/var/run
swap   158M   142M16M90%/tmp
/dev/md/dsk/d7  26G   5,8G20G23%/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


#35137 [Fbk->Opn]: Apache crash with command graceful

2005-11-08 Thread david dot micheneau at in-fusio dot com
 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:

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)


Previous Comments:


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




[2005-11-08 10:46:02] david dot micheneau at in-fusio dot com

(gdb) bt
#0  0xf96eeddc in php_apache_sapi_header_handler
(sapi_header=0xffbfec08, sapi_headers=0x1870a8, tsrm_ls=0x24e84e)
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=0x18a1d8) 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=216 'Ø', replace=0 '\0',
tsrm_ls=0x18a1d8)
at /home/hot/php-4.4.1/main/SAPI.c:487



[2005-11-07 15:28:42] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.





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


#35137 [Fbk->Opn]: Apache crash with command graceful

2005-11-08 Thread david dot micheneau at in-fusio dot com
 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:

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" \


Previous Comments:


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

What MPM are you using with Apache2?




[2005-11-08 10:46:02] david dot micheneau at in-fusio dot com

(gdb) bt
#0  0xf96eeddc in php_apache_sapi_header_handler
(sapi_header=0xffbfec08, sapi_headers=0x1870a8, tsrm_ls=0x24e84e)
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=0x18a1d8) 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=216 'Ø', replace=0 '\0',
tsrm_ls=0x18a1d8)
at /home/hot/php-4.4.1/main/SAPI.c:487



[2005-11-07 15:28:42] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.





[2005-11-07 12:24:23] david dot micheneau at in-fusio dot com

Description:

Hi,

Every night I do a log rotation and I use the command ./bin/apachectl
graceful
Apache was down and I see the same error in logs :


It seems that the problem comes from PHP version
(http://bugs.php.net/bug.php?id=27735).

However on this server I use the oracle instant client oci8, Solaris
9,
Apache 2.0.52, PHP 4.4.1 

I've test compilation on PHP-4.4.1 --without-pcre options and i've same
problem.
I've downgrade PHP version to 4.3.4 : same results.
I've downgrade Apache to 2.0.48 : and no is it ok.

I've also post a mail to users mailing list Apache.

Do you have a patch for my PHP-4.4.1 ? 

Actual result:
--
[Thu Nov 03 03:10:01 2005] [notice] SIGUSR1 received.  Doing graceful
restart
[Thu Nov 03 03:10:02 2005] [notice] seg fault or similar nasty error
detected in the parent process






-- 
Edit this bug report at http://bugs.php.net/?id=35137&edit=1


#35137 [Fbk->Opn]: Apache crash with command graceful

2005-11-08 Thread david dot micheneau at in-fusio dot com
 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:

(gdb) bt
#0  0xf96eeddc in php_apache_sapi_header_handler
(sapi_header=0xffbfec08, sapi_headers=0x1870a8, tsrm_ls=0x24e84e)
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=0x18a1d8) 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=216 'Ø', replace=0 '\0',
tsrm_ls=0x18a1d8)
at /home/hot/php-4.4.1/main/SAPI.c:487


Previous Comments:


[2005-11-07 15:28:42] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.





[2005-11-07 12:24:23] david dot micheneau at in-fusio dot com

Description:

Hi,

Every night I do a log rotation and I use the command ./bin/apachectl
graceful
Apache was down and I see the same error in logs :


It seems that the problem comes from PHP version
(http://bugs.php.net/bug.php?id=27735).

However on this server I use the oracle instant client oci8, Solaris
9,
Apache 2.0.52, PHP 4.4.1 

I've test compilation on PHP-4.4.1 --without-pcre options and i've same
problem.
I've downgrade PHP version to 4.3.4 : same results.
I've downgrade Apache to 2.0.48 : and no is it ok.

I've also post a mail to users mailing list Apache.

Do you have a patch for my PHP-4.4.1 ? 

Actual result:
--
[Thu Nov 03 03:10:01 2005] [notice] SIGUSR1 received.  Doing graceful
restart
[Thu Nov 03 03:10:02 2005] [notice] seg fault or similar nasty error
detected in the parent process






-- 
Edit this bug report at http://bugs.php.net/?id=35137&edit=1