Bug #14780: Segmentation fault with "mm",PHP works fine with "files"

From: Date: Mon, 31 Dec 2001 06:55:46 +0000
Subject: Bug #14780: Segmentation fault with "mm",PHP works fine with "files"
Groups: php.dev 
Request: Send a blank email to php-dev+get-75407@lists.php.net to get a copy of this message
From:             jlim@natsoft.com.my
Operating system: RH 7.2
PHP version:      4.1.1
PHP Bug Type:     Session related
Bug description:  Segmentation fault with "mm",PHP  works fine with "files"

When stress testing my web server with

ab -n5000 -c10 <url>

after about 1000-1500 requests the child processes start to fail.

In my apache error_log I see many entries like the following:

[Fri Dec 28 19:50:06 2001] [notice] child pid 14215 exit signal
Segmentation fault (11)

If I repeat the "ab" test several times, eventually Apache will hang and I
have to restart the web server. Here are the results:

This is ApacheBench, Version 1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd,
http://www.zeustech.net/
Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/

Benchmarking semut (be patient)...
Server Software:        Apache/1.3.20
Server Hostname:        semut
Server Port:            80

Document Path:          /juris/case.php
fbba51299f
Document Length:        85383 bytes

Concurrency Level:      10
Time taken for tests:   1638.945 seconds
Complete requests:      5000
Failed requests:        3446
   (Connect: 0, Length: 3446, Exceptions: 0)
Total transferred:      429091301 bytes
HTML transferred:       427029653 bytes
Requests per second:    3.05
Transfer rate:          261.81 kb/s received

Connnection Times (ms)
              min   avg   max
Connect:        0     9   197
Processing:  1692  3263 11353
Total:       1692  3272 11550

When I switch from "mm" to "files" everything works fine. I have a
suspicion that the bug is related to the fact that I am running on an SMP
processor.




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



Thread (7 messages)

« previous php.dev (#75407) next »