![]() |
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 : Website: www.atkcommunity.com Thanks in advance. |
You should talk to your host about this.
|
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. |
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:
|
Sorry to double post, but do you guys have any ideas?
|
Quote:
|
Quote:
|
A maximum of 25 connections really is not much.
|
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. |
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.
|
No way. Going through this recently on the HG forums, I know on a good day 100 users could easily share 25 mysql connections. Conversely, if something isn't working right, a single user could fill all 25. Really, on oversold shared servers the problem is usually cpu load anyway ("4.0 per cpu is acceptable" AAAGH).
I use that chatbox (as a shoutbox) and don't get the bots. Odd that some people do. |
I see, so I could potentially have hundreds of people on the site, but if more than 26 people tried to load a page at exactly the same time, one would receive an error. This could be a problem if I ever want to properly expand.
What would you recommend usually for a larger board? EDIT: That's interesting Videx, I guess it all depends on how often your site is being indexed already. |
Quote:
It really depends on how much and what if anything they're doing. |
I seem to be getting some of these errors now as well (not as many though):
PHP Code:
|
That is your MySQL server going down.
|
Quote:
|
Quote:
|
I'd really get a better host. 25 is a bad limit lol.
|
Quote:
|
One of the reasons i chose a VPS hahah. Shared hosting sucks.
|
Can you guys recommend another host? I am currently on ukwsd's reseller-1 package so I wouldn't want to downgrade.
I'd like keep cPanel, WHM and be based in the UK, but really want to improve my site's performance. It's getting a bit silly now. Is it possible to have a VPS with cPanel etc? Also, how much RAM would I need? |
A reseller? WOW that's low. -_-;" Lol upgrade to a VPS.
|
Quote:
|
All times are GMT. The time now is 01:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|