Server is Lagging like crazyyyy....

Hi,

I am trying to figure out why my server is running so horribly slow. I'm not sure where to look, but I did get this email today from my server:

While processing the log files for user XXXX, the cpu has been
maxed out for more then a 6 hour period. The current load/uptime line on the server at the time of
this email is
03:34:41 up 2 days, 3:00, 0 users, load average: 2.15, 2.52, 2.68
You should check the server to see why the load is so high and take
steps to lower the load. If you want stats to continue to run even with a high load; Edit
/var/cpanel/cpanel.config and change extracpus to a number larger then 0 (run
/usr/local/cpanel/startup afterwards to pickup the changes).
I also did a TOP on root to see whats happening and I get this:

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
24344 mysql 9 0 12848 12M 2000 S 99.9 2.5 0:00 0 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql
1208 root 8 0 2348 1100 1080 S 93.6 0.2 1416m 0 /usr/local/apache/bin/httpd -DSSL


How can I resolve this?

I am being hosted by surpasshosting at Dimenoc. My server spec is:

1.8 Celeron
512 ram
80gb 7200rpm


thx
pat

 

 

 

 

Top