mnmhm2004

Member
Sep 26, 2006
22
0
151
Hi
i recently have a huge problem with high load
my normal load is < 1
but some times the load goes to 60 or 80

the ifd report is attached

What is the problem ?
is this ddos attack or huge mail sending ?

all reply appreciated

thanks in advance
:)
 

Attachments

madaboutlinux

Well-Known Member
Jan 24, 2005
1,051
2
168
Earth
Looking at the output you have forwarded, it is very clear that a database is been accessed which is using high resources and causing heavy load on your server. In order to figure out the database, execute the command when the server load is high:

watch mysqladmin proc

and you will see conntections to your databases (whether they are quering your database or updating). With 'watch' the output will be refreshed every couple of seconds.

And to make sure any specific IP or range of IPs are causing problems, use the command: netstat -alntp. You will be presented with all the connections to your server with the list of remote IPs and their port numbers as well as the server port they are connected to. If you think any specific IP or a range of IP causing problem, you can block using iptables or CSF firewall (if installed).

There are also different ways to sort such issues but it is very difficult to explain everything here in the forums.
 

Factorhost

Member
Sep 24, 2006
10
0
151
Hi, how have you optimised it exactly?
My load is ok but my server becomes unresponsive every couple of weeks, telltale is mysql at the mo.

Cheers