Sunday, March 3, 2013

How to tackle overloaded servers


1) Check following parameters in top -c

Process using highest memory (switch m)

Process using highest CPU (switch p)

Check CPU utilisation

Check I/O wait

2) Check for following process in ps aux

Cpbackup

cpanellogd

updatedb

spamd

3) Check for spamming

exim -bpc

exim -bp

tail -f /var/log/exim_maillog

4) Check Mysql usage

mysqladmin processlist -i1

5) Check Following settings in WHM

1) Check for statstics programs enabled. Make sure Logaholic is disabled

2) Check apache status

3) Check daily process log

6) Check Raid status
tw_cli info cx

run smartctl test of hard disks

smartctl -a -d 3ware,x /dev/twax

No comments:

Post a Comment