Restrict connections?

Any problem with SQL can be discussed here.
Post Reply
pryj
Posts: 56
Joined: Tue Dec 21, 2004 1:06 pm

Restrict connections?

Post by pryj »

Hi there.

I've been getting about 50 or so emails a day with the dreaded Link-ID = = false, connect failed error.

I read the thread here:
http://www.vbulletin.com/forum/showthread.php?t=145058

Everything in my config.php file is correct and my forum doesn't really get THAT many people a day. I contacted my host to see if they could up the number of connections and they said they couldn't without me moving to a dedicated server.

My max_connections is set to 1000 and max_user_connections is 0.

Now I'm wondering if it's actually to do with my site at all or could it be another site on the hosted server that is causing all connections to be used up?

The site runs fine 98% of the time and it's only certain times of the day (random) that this occurs.

My question is there anything I can do to optimize this (my site only runs vBulletin and vBadvanced scripts), also is there anyway to limit the number of robots that google sends to the site. I'm thinking that if I limit the search engines to only 1 or 2 bots per engine then this will help.

Any help on all this would be help alot.

Regards,
Pete


mohumben
Posts: 82
Joined: Thu Sep 15, 2005 9:45 pm

Post by mohumben »

Well, I never actually "used" vBulletin, but you can prevent bots from crawling your page by using the robots.txt and <META name="robots"...

Check this:
http://www.w3.org/TR/html4/appendix/notes.html#h-B.4.1

Code: Select all

define('I_LOVE_PHP', true);
Post Reply