List:MySQL and PHP« Previous MessageNext Message »
From:Amir Hardon Date:May 4 2008 9:10pm
Subject:mysqli_connect fails under load(mysqlnd)
View as plain text  
Hi, we decided to test mysqlnd and installed 5.0.1-beta, on one of our
production servers (LAMP environment).
On our development environment it looked like it's working good, and passed
all QA tests (which were also done on the staging environment).
But when we directed real traffic to that server mysqli_connect started
acting weirdly:
On some of the requests, it failed (returned false), while
mysqli_connect_error() returned an empty string,
and mysli_connect_errno() returned 0(zero).

I tried testing it under load with ab(apache benchmark), but couldn't
reproduce the error.
Tried directing real traffic to this server again, and got the same errors.

If you think I might be doing something wrong, please elaborate,
if it's a bug and I can give you some more data I'll be happy, just keep in
mind that I can keep this server out of the load balancer only for 12 more
hours, so after that if it won't work, I'll have to roll back to the
previous state without mysqlnd.

Thanks!

Thread
mysqli_connect fails under load(mysqlnd)Amir Hardon4 May
  • Re: mysqli_connect fails under load(mysqlnd)Ulf Wendel5 May
  • Re: mysqli_connect fails under load(mysqlnd)Andrey Hristov5 May
    • Re: mysqli_connect fails under load(mysqlnd)Amir Hardon5 May
      • Re: mysqli_connect fails under load(mysqlnd)Andrey Hristov6 May
        • Re: mysqli_connect fails under load(mysqlnd)Ulf Wendel6 May
Re: mysqli_connect fails under load(mysqlnd)Andrey Hristov6 May
Re: mysqli_connect fails under load(mysqlnd)Amir Hardon6 May