ID: 14780
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Session related
Operating System: RH 7.2
PHP Version: 4.1.1
New Comment:
A simple script that reproduces the problem with "mm". Works fine for a while until
"mm" breaks under stress:
<?php
error_reporting(E_ALL);
$abc1 = '';
for ($i=0;$i<20;$i++)
session_register('abc'.$i);
@$_SESSION['abc1'] += 2;
print "<pre>$abc1\n\n";
?>
Previous Comments:
------------------------------------------------------------------------
[2001-12-31 01:55:44] [EMAIL PROTECTED]
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 this bug report at http://bugs.php.net/?id=14780&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]