Log in

View Full Version : Forum using 100% CPU?


NachoTPAO
07-31-2013, 07:06 PM
Hello i have a problem, my forum started being slow 3 days ago. Today i saw it uses 100% of the servers' cpu, it only goes down if i change the forum's directory, not even disabling it from admin cp works. I put it back online for a few seconds an 200 guests logged all of them with the location "index.php?_=" and a long number like "1375300158781". I thinks its a bot attack that somehows makes the forum use 100% CPU. It's this attack known? Can it be fixed?

Simon Lloyd
08-01-2013, 05:19 PM
If you have vbseo it could be down to that as their servers went down for a while but they are back up now.

NachoTPAO
08-02-2013, 01:12 AM
No, i don't have it.

Simon Lloyd
08-02-2013, 02:08 AM
you'll be able to tell from your server logs if you are being hit by the same ip's calling lots of connections.

Have you asked your hosts if there is anything in the logs? have you checked your database for corrupt tables...etc?

kh99
08-02-2013, 01:49 PM
It does kind of look like an attack. If they are coming from different ips, you might be able to add something to your .htaccess file to block requests that match that pattern (I don't know exactly how to do that myself).

Simon Lloyd
08-02-2013, 05:06 PM
The simplest instruction on blocking ip's in .htaccess is here http://www.clockwatchers.com/htaccess_block.html

--------------- Added 1375485888 at 1375485888 ---------------

Here's a .htaccess generator which can sort out the code you need :)
http://www.htaccessredirect301.com/