ID:               24012
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jp at 2fast dot nl
-Status:           Open
+Status:           Feedback
 Bug Type:         Apache2 related
 Operating System: Linux
 PHP Version:      4.3.2
 New Comment:

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.


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

[2003-06-04 05:27:57] jp at 2fast dot nl

On apache 2.0.46 with PHP 4.3.2 i get the following errors in my
error_log:

[Wed Jun 04 09:09:24 2003] [notice] child pid 4713 exit signal
Segmentation fault (11)
[Wed Jun 04 09:09:39 2003] [notice] child pid 4800 exit signal
Segmentation fault (11)
[Wed Jun 04 09:09:45 2003] [notice] child pid 4856 exit signal
Segmentation fault (11)
[Wed Jun 04 09:09:58 2003] [notice] child pid 4895 exit signal
Segmentation fault (11)
[Wed Jun 04 09:10:00 2003] [notice] child pid 4937 exit signal
Segmentation fault (11)

steps i've taken to eliminate hardware failures and other factors:

1. build a new kernel on that machine, previous kernel had a memory
mngt. patch: segmentation faults kept coming.

2. build httpd with an other gcc compiler (2.95 instead of 3.3):
segmentation faults didn't disappear

3. Compiled it on a whole different machine (AMD Atlhon instead of
Intel P4) with the same PHP scripts: It's raining segmentation faults

4. I also compiled php4-STABLE-200306032130 but it makes no
difference.

I use debian and on both machines runs Linux 2.4.20 without any
patches. My PHP version is 4.3.2 and is build with apxs2. The MPM on
apache is worker.

It has also come to my attention that if I use the following MPM
settings (ServerLimit 20, TreadsPerChild 35, MaxClients 700) the
webserver has a maximum output of 4 mbit/s while with apache 1.3.27 9
mbit/s could been reached. And with the settings (ServerLimit 50,
TreadsPerChild 15, MaxClients 750) my webserver died within a few
minutes by a segmentation fault on the parent proccess:

[Mon Jun 02 15:59:31 2003] [notice] child pid 11105 exit signal
Segmentation fault (11)
[Mon Jun 02 15:59:32 2003] [notice] child pid 11122 exit signal
Segmentation fault (11)
[Mon Jun 02 15:59:32 2003] [notice] child pid 11121 exit signal
Segmentation fault (11)
[Mon Jun 02 15:59:32 2003] [notice] child pid 11120 exit signal
Segmentation fault (11)
[Mon Jun 02 15:59:32 2003] [notice] child pid 11119 exit signal
Segmentation fault (11)
[Mon Jun 02 15:59:32 2003] [notice] child pid 11118 exit signal
Segmentation fault (11)
[Mon Jun 02 15:59:32 2003] [notice] child pid 11117 exit signal
Segmentation fault (11)
[Mon Jun 02 15:59:32 2003] [notice] child pid 11116 exit signal
Segmentation fault (11)
[Mon Jun 02 15:59:32 2003] [notice] child pid 11115 exit signal
Segmentation fault (11)
[Mon Jun 02 15:59:33 2003] [notice] seg fault or similar nasty error
detected in the parent process

I don't get apache coredumps.

When i comment out the loading of the PHP module and the webserver only
servers static images i don't get any segmentation faults.

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


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

Reply via email to