I have a huge problem with my site.
I run a forum (Simple MAchine Forum) on a VPS.
It was perfect, no problem for 3 years.
Actually I experience a lot of problems.
Some times the site needs 40 seconds to load, sometimes just 1 second.
The problem is not the traffic.
The traffic is always the same.
Dreamhost support told me problems are:
- slow access to mySql
- a lot of active requests.
I copy what they wrote to me:
Looking at your Apache status:
Current Time: Thursday, 23-Jan-2014 08:44:53 PST
Restart Time: Thursday, 23-Jan-2014 07:27:54 PST
Parent Server Generation: 0
Server uptime: 1 hour 16 minutes 59 seconds
Total accesses: 29285 - Total Traffic: 17.7 MB
CPU Usage: u2.5 s.25 cu0 cs0 - .0595% CPU load
6.34 requests/sec - 4024 B/second - 634 B/request
152 requests currently being processed, 2 idle workers
Then, the told me that I should have gone to the url
to block bad bots and offending IPs. This should help with the slowness
and increase stability.
Then i asked them to help me doing something, and the wrote me:
Since the last time the logs have been rotated, these are the number of
hits from the following IP's:
hits IP Address
I added them to my htaccess file.
1) how can i see what IP are hitting my site, looking at the number of times they do it?
2) what can i do to majke my site surfable??? actually it's almost unusable...