krisp
17-12-09, 01:17
The other night I happened to be awake a little after 4 in the morning, where the forum suddenly was down for like 20 min:
Database error in vBulletin :
mysqli_real_connect() [<a href='function.mysqli-real-connect'>function.mysqli-real-connect</a>]: (08004/1040): Too many connections
/var/www/vhosts/.../httpdocs/includes/class_core.php on line 1138
MySQL Error :
Error Number :
Request Date : Tuesday, December 15th 2009 @ 04:28:00 AM
Error Date : Tuesday, December 15th 2009 @ 04:28:00 AM
Script : http://.../
Referrer :
IP Address :
Username :
Classname : vB_Database_MySQLi
MySQL Version :
-->
Now, I never experienced this before, and I am wondering, if it was a coincidence, that this was around the vb cache update in scheduled tasks.
I checked this morning and everything was ok, so it didnt repeat today.
The server seemed not to be stressed, since I had another forum on same server without vbet, that was running fine during the downtime of my vbet forum.
Looking at the serverlog, there did seem to be some bot activity, but not much user activity. The bots seemed to get OK 200 - but normal users got dberror. Also strangely the records in the server logfile seems not to be sorted chronologically ...
A bit of a puzzele ... perhaps you can tell me if includes/class_core.php on line 1138 is involved in updating the cache ? Or perhaps some of you have an idea how to troubleshoot this?
Database error in vBulletin :
mysqli_real_connect() [<a href='function.mysqli-real-connect'>function.mysqli-real-connect</a>]: (08004/1040): Too many connections
/var/www/vhosts/.../httpdocs/includes/class_core.php on line 1138
MySQL Error :
Error Number :
Request Date : Tuesday, December 15th 2009 @ 04:28:00 AM
Error Date : Tuesday, December 15th 2009 @ 04:28:00 AM
Script : http://.../
Referrer :
IP Address :
Username :
Classname : vB_Database_MySQLi
MySQL Version :
-->
Now, I never experienced this before, and I am wondering, if it was a coincidence, that this was around the vb cache update in scheduled tasks.
I checked this morning and everything was ok, so it didnt repeat today.
The server seemed not to be stressed, since I had another forum on same server without vbet, that was running fine during the downtime of my vbet forum.
Looking at the serverlog, there did seem to be some bot activity, but not much user activity. The bots seemed to get OK 200 - but normal users got dberror. Also strangely the records in the server logfile seems not to be sorted chronologically ...
A bit of a puzzele ... perhaps you can tell me if includes/class_core.php on line 1138 is involved in updating the cache ? Or perhaps some of you have an idea how to troubleshoot this?