Post Reply  Post Thread 
Limit connections per ip
katmai
Junior Member
**

Posts: 26
Group: Registered
Joined: Jul 2006
Status: Offline
Reputation: 0
Post: #1
Limit connections per ip

I have problem. one of my site is being hit by google bots and msn bots ... this thing makes mysql connections go boom and finally all websites that use mysql go like: too many connections to sql bla bla ... any idea how to limit nr connections to mysql and to apache per ip ? like ... 4 max connections per incoming ip ?

07-21-2006 04:15 PM
Find all posts by this user Quote this message in a reply
Pacifier
Administrator
*******

Posts: 221
Group: Administrators
Joined: May 2006
Status: Offline
Reputation: 0
Post: #2
RE: Limit connections per ip

You'll have to use mod_throttle for this purpose..

BTW, for MSN-Bot you can set Crawl-Delay: 5 or even 10 in your robots.txt file to make it crawl slowly.

07-21-2006 04:32 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: