The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Persistent DB errors
Not sure if someone is trying to inject my forums on a daily basis basically non stop or something is wrong with my forums, I'm getting a mix of fatal errors, I just recently checked the email I use for vbulletin error reporting. Please check these out I'll try and spoiler them
Error 1 (looks like an injection tbh). Code:
Database error in vBulletin : mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections /public_html/forums/includes/class_core.php on line 311 MySQL Error : Error Number : Request Date : Saturday, October 12th 2013 @ 11:19:14 AM Error Date : Saturday, October 12th 2013 @ 11:19:14 AM Script : http://www.mywebsite.org/forums/misc.php?do=form&fid=3%20aNd%20(select%20ASCII(SUBSTRING(name,60,1))%20from%20%5Bmaster%5D..%5Bsysdatabases%5D%20where%20dbid=16)=254 Referrer : IP Address : REMOVED Username : Classname : vB_Database MySQL Version : Code:
Database error in vBulletin : mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) /public_html/forums/includes/class_core.php on line 311 MySQL Error : Error Number : Request Date : Saturday, October 12th 2013 @ 01:25:53 PM Error Date : Saturday, October 12th 2013 @ 01:25:54 PM Script : http://www.mywebsite.org.com/forums/ Referrer : http://www.mywebsite.org/forums/showgroups.php IP Address : REMOVED Username : Classname : vB_Database MySQL Version : Code:
Database error in vBulletin : mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections /public_html/forums/includes/class_core.php on line 311 MySQL Error : Error Number : Request Date : Saturday, October 12th 2013 @ 10:25:54 AM Error Date : Saturday, October 12th 2013 @ 10:25:54 AM Script : http://www.mywebsite.org/forums/forumdisplay.php?f=0 Referrer : http://www.mywebsite.org/forums/ IP Address : REMOVED Username : Classname : vB_Database MySQL Version : |
#2
|
|||
|
|||
If it's a shared server it could be someone else loading it. In your AdminCP Home page check Server Load Averages. It depends on the number of server cores but the number shouldn't be much bigger than 4 for a 4 core server.
|
Благодарность от: | ||
Max Taxable |
#3
|
||||
|
||||
I would say you are getting hammered by bots from the same IP address thus causing to many connections.
|
Благодарность от: | ||
Max Taxable |
#4
|
||||
|
||||
I had to shut down my forums a year ago for the same reason blind-eddie suggests. Of course, at that point, I had no active membership. But even so, the server kept crashing with the same type of database errors above. Too many connections from too many bots trying to see things they shouldn't see.
|
#5
|
|||
|
|||
Quote:
Quote:
--------------- Added [DATE]1381651823[/DATE] at [TIME]1381651823[/TIME] --------------- Quote:
"Server Load Averages 13.16 13.54 13.45" |
#6
|
||||
|
||||
How many users are on you forms when the load is that high, Active Users X, Guests X?
What is the specs of the serve? Is it a shared, VPS or dedicated? |
#7
|
||||
|
||||
Heh, I wasn't suggesting that. Just pointing out that I've run into the same issue, for possibly the same reasons. My community was dead at the time, so I decided to put it off til later. I hate .htaccess, but I was probably going to have to ban some countries for that reason.
|
Благодарность от: | ||
blind-eddie |
#8
|
|||
|
|||
Quote:
|
#9
|
||||
|
||||
You, or your host, should be able to see the raw access logs. If you have cPanel, there should be a place to view those logs as well as bandwidth usage, statistics, etc. Every host is a little different, though
|
#10
|
|||
|
|||
The server has maxed out the number of MySQL connections it allows. This is a server-wide limit, not just your forums. All you can do is ask your host to raise the maximum number of connections they allow.
Here is more info on that error: http://dev.mysql.com/doc/refman/5.0/...nnections.html |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|