Edit report at https://bugs.php.net/bug.php?id=55334&edit=1
ID: 55334
Updated by: johannes@php.net
Reported by: bruno at chalopin dot fr
Summary: MySQLi make mod_php crash on stress test
Status: Assigned
Type: Bug
Package: MySQLi related
Operating System: Windows 2008r2 x64
PHP Version: 5.3.7RC4
-Assigned To: johannes
+Assigned To: mattficken
Block user comment: N
Private report: N
New Comment:
Matt, can you give it a new run. The change http://git.php.net/?p=php-src.git;a=commit;h=ea3e0d5a7370df63af9372780b91a749fda773b1
which is in 5.4.1 should fix the issue for 5.4. See also http://news.php.net/php.internals/59353
I wasn't able to see an issue neither in 5.3 nor 5.4 after having a 64-way Solaris machine
running for a few hours. For Windows I did only a shorter test on a 4-way machine.
Previous Comments:
------------------------------------------------------------------------
[2012-04-08 22:19:22] ricardo dot nuno dot rodrigues at hotmail dot com
Hi there,
In PHP 5.4 TS VC9 (Win) I have the same problem. Under stress goes down.
With file mysql_test.php:
<?php
mysqli_init();
?>
Under:
ab -n 10000 -c 50 http://127.0.0.1/mysql_test.php
It restart server (apache 2.2.21). Sometimes creates a delay. Under xdebug
there's a big time to
connect.
Thanks
Ricardo
------------------------------------------------------------------------
[2012-03-12 17:21:41] pajoye@php.net
Johannes,
See last comment, I can also still reproduce it locally (dual quad).
------------------------------------------------------------------------
[2012-03-09 23:08:26] mattficken@php.net
To repro this problem, your test environment needs to have 4+ cpus, which the environment I was
previously using didn't have.
------------------------------------------------------------------------
[2012-03-09 19:07:38] mattficken@php.net
Closing bug
------------------------------------------------------------------------
[2012-03-09 19:03:14] mattficken@php.net
Using 5_3 r324027, with Apache 2.2 on Windows 2008r2sp0, I can no longer reproduce this bug.
I think this bug is fixed.
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=55334--
Edit this bug report at https://bugs.php.net/bug.php?id=55334&edit=1