Bug #55334 [Asn]: MySQLi make mod_php crash on stress test

From: Date: Fri, 04 May 2012 09:02:33 +0000
Subject: Bug #55334 [Asn]: MySQLi make mod_php crash on stress test
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-170157@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55334&edit=1

 ID:                 55334
 Updated by:         uw@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:        mattficken
 Block user comment: N
 Private report:     N

 New Comment:

So, this can be closed?


Previous Comments:
------------------------------------------------------------------------
[2012-05-03 20:32:46] mattficken@php.net

johannes, your patch works for me with 5.4.1 on a 4-way and an 8-way windows 2008r2 server with:
ab -n 10000 -c 20
ab -n 100000 -c 20
ab -n 100000 -c 50
and ab -n 10000 -c 50.

------------------------------------------------------------------------
[2012-05-02 09:47:14] johannes@php.net

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.

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

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


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


Thread (18 messages)

« previous php.bugs (#170157) next »