I run a a simple VPS with 1GB RAM and 2GM SWAP (XEN)
A few days ago my site was down, also i could't connect with the server (SSH). I needed to login to my external VPS panel to do a HARD reboot(plug and unplug), reboot also didn't work.. SO my server needed a total unplug an plug.
After looking in the logs i noticed my website AND server crashed because a bot visited my drupal site on none cashed webpages. This caused a lott of RAM, because it tried many connections in one time.
Except from the fact i need to install mod security.. how could i prevent the server from crashing? I got a top report from Directadmin "Warning: The system load average is 11.56" that shows +/-25 Apache threads. Is there a way i can limit this? Is this called Childeren in the http config? That way my server won't crash...
A few days ago my site was down, also i could't connect with the server (SSH). I needed to login to my external VPS panel to do a HARD reboot(plug and unplug), reboot also didn't work.. SO my server needed a total unplug an plug.
After looking in the logs i noticed my website AND server crashed because a bot visited my drupal site on none cashed webpages. This caused a lott of RAM, because it tried many connections in one time.
Except from the fact i need to install mod security.. how could i prevent the server from crashing? I got a top report from Directadmin "Warning: The system load average is 11.56" that shows +/-25 Apache threads. Is there a way i can limit this? Is this called Childeren in the http config? That way my server won't crash...