The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
mysql_connect Database Errors
Ever since I upgraded to vbulletin 4, my forum constantly seems to be getting database errors along the lines of this (I've got 1000 emails just today):
Code:
Database error in vBulletin : mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: User xxxxxx_forum already has more than 'max_user_connections' active connections /home/xxxxxx/public_html/includes/class_core.php on line 312 MySQL Error : Error Number : Request Date : Tuesday, June 1st 2010 @ 11:38:05 AM Error Date : Tuesday, June 1st 2010 @ 11:38:05 AM Script : http://www.atkcommunity.com/threads/clientscript/build/shadowbox.js Referrer : IP Address : 216.104.15.130 Username : Classname : vB_Database MySQL Version : Website: www.atkcommunity.com Thanks in advance. |
#2
|
||||
|
||||
You should talk to your host about this.
|
#3
|
||||
|
||||
I think the question is: Are you really opening a lot of connections, and how many are you allowed with your hosting package. We'd need to know how many simultaneous users you usually have, and if your hosting has a hard limit. Also if you have any mods that encourages people to stay connected (eg chatbox). Darned hard to tell much of anything when the actual error is blank like that.
You may want to try disabling all your mods for a while to see if one of them is acting up. |
#4
|
|||
|
|||
I've just opened a support ticket with my host, so I'll let you know what they say soon. I believe this all started when I installed the vsa chatbox and started noticing hundreds more guests just viewing the chatlogs.
A couple of days ago I changed to a different chatbox and removed the other one, but perhaps the bots are just still coming. As I said above, what's with all the scripts being at /threads? That's not actually where the scripts are as that's just an SEO thing. Is my .htaccess file to blame? --------------- Added [DATE]1275588723[/DATE] at [TIME]1275588723[/TIME] --------------- Here's the reply I got: Quote:
|
#5
|
|||
|
|||
Sorry to double post, but do you guys have any ideas?
|
#6
|
||||
|
||||
If you're still getting 1000 errors a day, turn off all your mods. Re-enable them one at a time.
|
#7
|
||||
|
||||
Quote:
|
#8
|
|||
|
|||
A maximum of 25 connections really is not much.
|
#9
|
|||
|
|||
I think that the problem's now sorted thanks. I just made sure that all evidence of the VSA shoutbox was gone. For some reason it just attracted loads of bots.
Marco I'm interested to hear why 25 isn't enough so that I can talk to my host about it. Also, if I decide to switch, I'd like to know what a good number is. |
#10
|
||||
|
||||
It comes down to mean you can have 25 active mysql connections total. If you had 26+ users online at the same time, or possibly higehr, your users will get those errors.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|