High server loads, optimization help

Hello,

My server has recently been experiencing quite high server loads, and I've never really optimized it before so I hope someone can help me optimize it to bring the load under 1?

Server Information:

AMD Athlon 3000+ (Barton Core)
2GB RAM
CentOS 3.6
Kernel 2.6.14
cPanel Server

Top output when load is high:

Code:
11:41:16  up 17:11,  1 user,  load average: 2.73, 1.63, 1.50
272 processes: 268 sleeping, 3 running, 1 zombie, 0 stopped
CPU states:  cpu    user    nice  system    irq  softirq  iowait    idle
           total   65.6%    0.0%   32.3%   0.9%     0.9%    0.0%    0.0%
Mem:  2060680k av, 1922556k used,  138124k free,       0k shrd,   52052k buff
      1020448k active,             605636k inactive
Swap: 1052248k av,       0k used, 1052248k free                  872768k cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
20413 madgettc  18   0 26560  16M  7676 S    10.7  0.8   0:00   0 cpanel
20406 mailnull  15   0  7488 3036  1972 S     3.9  0.1   0:00   0 exim
20412 madgettc  17   0 12288 6800  1376 S     3.9  0.3   0:00   0 cpsrvd
28659 nobody    15   0 33960  25M  3284 S     1.9  1.2   0:02   0 httpd
20408 root      16   0  4348 1292   888 R     1.9  0.0   0:00   0 top
27521 mysql     16   0 93164  72M  1624 S     0.9  3.5   0:02   0 mysqld
23747 nobody    15   0 36012  24M  2904 S     0.9  1.2   0:01   0 httpd
27962 nobody    15   0 36084  24M  3260 S     0.9  1.2   0:02   0 httpd
29562 nobody    15   0 36308  24M  3116 S     0.9  1.2   0:03   0 httpd
 1487 root      25   0  2280 1100   840 R     0.9  0.0   0:02   0 bfd
20446 madgettc  18   0  6212 4016  2168 R     0.9  0.1   0:00   0 cpanel-email
    1 root      16   0  1588  492   440 S     0.0  0.0   0:00   0 init
    2 root      34  19     0    0     0 SWN   0.0  0.0   0:00   0 ksoftirqd/0
    3 root      10  -5     0    0     0 SW<   0.0  0.0   0:00   0 events/0
    4 root      11  -5     0    0     0 SW<   0.0  0.0   0:00   0 khelper
    5 root      10  -5     0    0     0 SW<   0.0  0.0   0:00   0 kthread
    6 root      10  -5     0    0     0 SW<   0.0  0.0   0:04   0 kblockd/0
    8 root      15   0     0    0     0 SW    0.0  0.0   0:02   0 pdflush
   10 root      10  -5     0    0     0 SW<   0.0  0.0   0:00   0 aio/0
    9 root      15   0     0    0     0 SW    0.0  0.0   0:18   0 kswapd0
   11 root      10  -5     0    0     0 SW<   0.0  0.0   0:00   0 kseriod
   12 root      15   0     0    0     0 SW    0.0  0.0   0:14   0 kjournald
  372 root      15   0     0    0     0 SW    0.0  0.0   0:00   0 kjournald
  373 root       0 -20     0    0     0 SW<   0.0  0.0   0:01   0 loop0
  374 root      15   0     0    0     0 SW    0.0  0.0   0:00   0 kjournald
 1051 root      16   0  1648  524   444 S     0.0  0.0   0:02   0 syslogd
 1055 root      16   0  1596  364   308 S     0.0  0.0   0:00   0 klogd
 1081 rpc       15   0  1728  512   436 S     0.0  0.0   0:00   0 portmap
 1100 rpcuser   17   0  1732  660   580 S     0.0  0.0   0:00   0 rpc.statd
 1109 root      15   0  1584  368   308 S     0.0  0.0   0:00   0 courierlogger
 1110 root      16   0  1892  588   492 S     0.0  0.0   0:00   0 authdaemond
 1113 root      16   0  1892  336   236 S     0.0  0.0   0:00   0 authdaemond
 1114 root      16   0  1892  332   232 S     0.0  0.0   0:00   0 authdaemond
 1115 root      16   0  1892  332   232 S     0.0  0.0   0:00   0 authdaemond
 1116 root      16   0  1892  332   232 S     0.0  0.0   0:00   0 authdaemond
 1117 root      16   0  1892  332   232 S     0.0  0.0   0:00   0 authdaemond
 1126 root      16   0  1644  244   184 S     0.0  0.0   0:00   0 mdadm
 1144 root      18   0  4304 1172  1036 S     0.0  0.0   0:00   0 mysqld_safe
 1185 mysql     15   0 93164  72M  1624 S     0.0  3.5   0:04   0 mysqld
 1215 mysql     16   0 93164  72M  1624 S     0.0  3.5   0:00   0 mysqld
 1216 mysql     15   0 93164  72M  1624 S     0.0  3.5   0:03   0 mysqld
 4548 root      16   0  7448 1664  1248 S     0.0  0.0   0:00   0 cupsd
 4870 root      16   0  2200  760   636 S     0.0  0.0   0:00   0 xinetd
 4885 ntp       16   0  2628 2628  2208 S     0.0  0.1   0:00   0 ntpd
 4938 postgres  16   0 10716 2784  1688 S     0.0  0.1   0:00   0 postmaster
 4940 postgres  16   0  9224  848   496 S     0.0  0.0   0:00   0 postmaster
 4941 postgres  15   0  8368  960   580 S     0.0  0.0   0:00   0 postmaster
 4962 root      19   0 11428 7576  1052 S     0.0  0.3   0:01   0 chkservd
 4976 root      15   0  1580  364   308 S     0.0  0.0   0:00   0 courierlogger
 4977 root      16   0  1692  504   440 S     0.0  0.0   0:00   0 couriertcpd
 4986 root      18   0  1580  292   244 S     0.0  0.0   0:00   0 courierlogger
ps -auxf output when load is high:

Code:
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  1588  492 ?        S    Feb14   0:00 init [3]  
root         2  0.0  0.0     0    0 ?        SWN  Feb14   0:00 [ksoftirqd/0]
root         3  0.0  0.0     0    0 ?        SW<  Feb14   0:00 [events/0]
root         4  0.0  0.0     0    0 ?        SW<  Feb14   0:00 [khelper]
root         5  0.0  0.0     0    0 ?        SW<  Feb14   0:00 [kthread]
root         6  0.0  0.0     0    0 ?        SW<  Feb14   0:04  \_ [kblockd/0]
root         8  0.0  0.0     0    0 ?        SW   Feb14   0:02  \_ [pdflush]
root        10  0.0  0.0     0    0 ?        SW<  Feb14   0:00  \_ [aio/0]
root        11  0.0  0.0     0    0 ?        SW<  Feb14   0:00  \_ [kseriod]
root     11523  0.0  0.0     0    0 ?        SW   01:02   0:00  \_ [pdflush]
root         9  0.0  0.0     0    0 ?        SW   Feb14   0:18 [kswapd0]
root        12  0.0  0.0     0    0 ?        SW   Feb14   0:14 [kjournald]
root       372  0.0  0.0     0    0 ?        SW   Feb14   0:00 [kjournald]
root       373  0.0  0.0     0    0 ?        SW<  Feb14   0:01 [loop0]
root       374  0.0  0.0     0    0 ?        SW   Feb14   0:00 [kjournald]
root      1051  0.0  0.0  1648  524 ?        S    Feb14   0:02 syslogd -m 0
root      1055  0.0  0.0  1596  364 ?        S    Feb14   0:00 klogd -x
rpc       1081  0.0  0.0  1728  512 ?        S    Feb14   0:00 portmap
rpcuser   1100  0.0  0.0  1732  660 ?        S    Feb14   0:00 rpc.statd
root      1109  0.0  0.0  1584  368 ?        S    Feb14   0:00 /usr/sbin/courier
root      1110  0.0  0.0  1892  588 ?        S    Feb14   0:00  \_ /usr/libexec/
root      1113  0.0  0.0  1892  336 ?        S    Feb14   0:00      \_ /usr/libe
root      8527  0.0  0.3 10316 6768 ?        S    Feb14   0:03      |   \_ /etc/
root      1114  0.0  0.0  1892  332 ?        S    Feb14   0:00      \_ /usr/libe
root      8543  0.0  0.3 10320 6768 ?        S    Feb14   0:03      |   \_ /etc/
root      1115  0.0  0.0  1892  332 ?        S    Feb14   0:00      \_ /usr/libe
root      8990  0.0  0.3 10316 6764 ?        S    Feb14   0:03      |   \_ /etc/
root      1116  0.0  0.0  1892  332 ?        S    Feb14   0:00      \_ /usr/libe
root      8991  0.0  0.3 10316 6932 ?        S    Feb14   0:03      |   \_ /etc/
root      1117  0.0  0.0  1892  332 ?        S    Feb14   0:00      \_ /usr/libe
root      5770  0.0  0.3 10316 6768 ?        S    Feb14   0:02          \_ /etc/
root      1126  0.0  0.0  1644  244 ?        S    Feb14   0:00 mdadm --monitor -
root      1144  0.0  0.0  4304 1172 ?        S    Feb14   0:00 /bin/sh /usr/bin/
mysql     1185  0.0  3.5 93052 73620 ?       S    Feb14   0:04  \_ /usr/sbin/mys
mysql     1215  0.0  3.5 93052 73620 ?       S    Feb14   0:00      \_ /usr/sbin
mysql     1216  0.0  3.5 93052 73620 ?       S    Feb14   0:03          \_ /usr/
mysql     5448  0.0  3.5 93052 73620 ?       S    Feb14   0:21          \_ /usr/
mysql     5452  0.0  3.5 93052 73620 ?       S    Feb14   0:23          \_ /usr/
mysql     5681  0.0  3.5 93052 73620 ?       S    Feb14   0:24          \_ /usr/
mysql     5682  0.0  3.5 93052 73620 ?       S    Feb14   0:23          \_ /usr/
mysql     5776  0.0  3.5 93052 73620 ?       S    Feb14   0:22          \_ /usr/
mysql     5781  0.0  3.5 93052 73620 ?       S    Feb14   0:21          \_ /usr/
mysql     5782  0.0  3.5 93052 73620 ?       S    Feb14   0:22          \_ /usr/
mysql     5783  0.0  3.5 93052 73620 ?       S    Feb14   0:34          \_ /usr/
mysql     5790  0.0  3.5 93052 73620 ?       S    Feb14   0:23          \_ /usr/
mysql     3996  0.0  3.5 93052 73620 ?       S    Feb14   0:21          \_ /usr/
mysql    32688  0.0  3.5 93052 73620 ?       S    Feb14   0:18          \_ /usr/
mysql    32689  0.0  3.5 93052 73620 ?       S    Feb14   0:17          \_ /usr/
mysql    32727  0.0  3.5 93052 73620 ?       S    Feb14   0:15          \_ /usr/
mysql    32730  0.0  3.5 93052 73620 ?       S    Feb14   0:16          \_ /usr/
mysql    32742  0.0  3.5 93052 73620 ?       S    Feb14   0:16          \_ /usr/
mysql    32745  0.0  3.5 93052 73620 ?       S    Feb14   0:20          \_ /usr/
mysql    32765  0.0  3.5 93052 73620 ?       S    Feb14   0:19          \_ /usr/
mysql      303  0.0  3.5 93052 73620 ?       S    Feb14   0:16          \_ /usr/
mysql      304  0.0  3.5 93052 73620 ?       S    Feb14   0:16          \_ /usr/
mysql      305  0.0  3.5 93052 73620 ?       S    Feb14   0:16          \_ /usr/
mysql      345  0.0  3.5 93052 73620 ?       S    Feb14   0:16          \_ /usr/
mysql      364  0.0  3.5 93052 73620 ?       S    Feb14   0:17          \_ /usr/
mysql      369  0.0  3.5 93052 73620 ?       S    Feb14   0:17          \_ /usr/
mysql      414  0.0  3.5 93052 73620 ?       S    Feb14   0:16          \_ /usr/
mysql      491  0.0  3.5 93052 73620 ?       S    Feb14   0:19          \_ /usr/
mysql      492  0.0  3.5 93052 73620 ?       S    Feb14   0:17          \_ /usr/
mysql      507  0.0  3.5 93052 73620 ?       S    Feb14   0:17          \_ /usr/
mysql      512  0.0  3.5 93052 73620 ?       S    Feb14   0:16          \_ /usr/
mysql      523  0.0  3.5 93052 73620 ?       S    Feb14   0:17          \_ /usr/
mysql    27499  0.0  3.5 93052 73620 ?       S    08:57   0:03          \_ /usr/
mysql    27521  0.0  3.5 93052 73620 ?       S    08:57   0:02          \_ /usr/
mysql    27558  0.0  3.5 93052 73620 ?       S    08:57   0:03          \_ /usr/
mysql    27572  0.0  3.5 93052 73620 ?       S    08:57   0:01          \_ /usr/
mysql    27593  0.0  3.5 93052 73620 ?       S    08:57   0:00          \_ /usr/
mysql    27602  0.0  3.5 93052 73620 ?       S    08:57   0:02          \_ /usr/
mysql    31175  0.0  3.5 93052 73620 ?       S    11:35   0:00          \_ /usr/
root      4548  0.0  0.0  7448 1664 ?        S    Feb14   0:00 cupsd
root      4870  0.0  0.0  2200  760 ?        S    Feb14   0:00 xinetd -stayalive
ntp       4885  0.0  0.1  2628 2628 ?        SL   Feb14   0:00 ntpd -U ntp -p /v
postgres  4938  0.0  0.1 10716 2816 ?        S    Feb14   0:00 /usr/bin/postmast
postgres  4940  0.0  0.0  9224  848 ?        S    Feb14   0:00  \_ postgres: sta
postgres  4941  0.0  0.0  8368  960 ?        S    Feb14   0:00      \_ postgres:
root      4962  0.0  0.3 11428 7576 ?        S    Feb14   0:01 chkservd
root      4976  0.0  0.0  1580  364 ?        S    Feb14   0:00 /usr/sbin/courier
root      4977  0.0  0.0  1692  504 ?        S    Feb14   0:00  \_ /usr/lib/cour
root      4986  0.0  0.0  1580  292 ?        S    Feb14   0:00 /usr/sbin/courier
root      4987  0.0  0.0  1692  484 ?        S    Feb14   0:00  \_ /usr/lib/cour
root      4994  0.0  0.0  1580  364 ?        S    Feb14   0:00 /usr/sbin/courier
root      4995  0.0  0.0  1700  500 ?        S    Feb14   0:00  \_ /usr/lib/cour
root      5002  0.0  0.0  1584  364 ?        S    Feb14   0:00 /usr/sbin/courier
root      5003  0.0  0.0  1692  500 ?        S    Feb14   0:00  \_ /usr/lib/cour
root      5193  0.0  0.0  1660  600 ?        S    Feb14   0:00 crond
root      1460  0.0  0.0  1660  280 ?        S    11:40   0:00  \_ CROND
root      1461  0.0  0.0  2180  956 ?        S    11:40   0:00      \_ /bin/sh /
root      1487  3.2  0.0  2280 1124 ?        R    11:40   0:04          \_ /bin/
root      4608  0.0  0.0  2280  536 ?        R    11:42   0:00              \_ /
root      4609  0.0  0.0  1484  156 ?        R    11:42   0:00                  
mailnull  5463  0.0  0.1  8008 3496 ?        S    Feb14   0:01 /usr/bin/perl /us
root      5548  0.0  0.0  6120 1396 ?        S    Feb14   0:00 pure-ftpd (SERVER
csweb     2479  0.0  0.0  6236 1196 ?        S    11:27   0:00  \_ pure-ftpd (ID
jonf     30310  0.0  0.0  6160 1184 ?        S    11:33   0:00  \_ pure-ftpd (ID
trailbla 30367  0.1  0.0  6156 1188 ?        S    11:33   0:00  \_ pure-ftpd (UP
trailbla 31209  0.0  0.0  6128 1128 ?        S    11:36   0:00  \_ pure-ftpd (ID
liquid   31270  0.0  0.0  6128 1180 ?        S    11:36   0:00  \_ pure-ftpd (ID
root      5553  0.0  0.0  5660  972 ?        S    Feb14   0:00 /usr/sbin/pure-au
root      5574  0.0  0.2  6720 4748 ?        S    Feb14   0:00 cpbandwd
root      5575  0.7  2.2 49856 45740 ?       RN   Feb14   7:13 cpanellogd - scan
nobody    5607  0.0  0.0  3740 1692 ?        S    Feb14   0:00 entropychat
nobody    5615  0.0  0.0  1804  624 ?        S    Feb14   0:00 /usr/local/cpanel
mailman   5732  0.0  0.1  7244 3508 ?        S    Feb14   0:00 /usr/bin/python /
mailman   5749  0.0  0.2  7196 4704 ?        S    Feb14   0:00  \_ /usr/bin/pyth
mailman   5750  0.0  0.2  7164 4720 ?        S    Feb14   0:00  \_ /usr/bin/pyth
mailman   5751  0.0  0.2  7156 4708 ?        S    Feb14   0:00  \_ /usr/bin/pyth
mailman   5752  0.0  0.2  7288 4832 ?        S    Feb14   0:00  \_ /usr/bin/pyth
mailman   5753  0.0  0.2  7272 4744 ?        S    Feb14   0:00  \_ /usr/bin/pyth
mailman   5754  0.0  0.2  7360 4992 ?        S    Feb14   0:00  \_ /usr/bin/pyth
mailman   5755  0.0  0.2  7196 4788 ?        S    Feb14   0:00  \_ /usr/bin/pyth
mailman   5757  0.0  0.2  7196 4764 ?        S    Feb14   0:00  \_ /usr/bin/pyth
root      5742  0.0  0.0  1580  424 tty1     S    Feb14   0:00 /sbin/mingetty tt
root      5743  0.0  0.0  1580  424 tty2     S    Feb14   0:00 /sbin/mingetty tt
root      5744  0.0  0.0  1584  428 tty3     S    Feb14   0:00 /sbin/mingetty tt
root      5745  0.0  0.0  1584  428 tty4     S    Feb14   0:00 /sbin/mingetty tt
root      5746  0.0  0.0  1580  424 tty5     S    Feb14   0:00 /sbin/mingetty tt
root      5747  0.0  0.0  1580  420 tty6     S    Feb14   0:00 /sbin/mingetty tt
named     8342  0.0  0.2 32664 5252 ?        S    Feb14   0:56 /usr/sbin/named -
root      8385  0.0  0.9 27736 20244 ?       S    Feb14   0:06 /usr/local/apache
nobody   23741  0.1  1.2 36500 25964 ?       S    11:21   0:02  \_ /usr/local/ap
nobody   23743  0.2  1.2 36356 25416 ?       S    11:21   0:03  \_ /usr/local/ap
nobody   23744  0.1  1.2 37436 26504 ?       S    11:21   0:02  \_ /usr/local/ap
nobody   23745  0.1  1.2 36028 25200 ?       S    11:21   0:01  \_ /usr/local/ap
nobody   23746  0.2  1.2 36196 25716 ?       S    11:21   0:02  \_ /usr/local/ap
nobody   23747  0.1  1.2 36012 25024 ?       S    11:21   0:02  \_ /usr/local/ap
nobody   23748  0.3  1.2 36008 25060 ?       S    11:21   0:03  \_ /usr/local/ap
nobody   23756  0.2  1.3 38808 27872 ?       S    11:21   0:02  \_ /usr/local/ap
nobody   23757  0.2  1.2 37488 26784 ?       S    11:21   0:02  \_ /usr/local/ap
nobody   23758  0.3  1.2 37440 26500 ?       S    11:21   0:03  \_ /usr/local/ap
nobody   24642  0.1  1.2 36212 25412 ?       S    11:21   0:01  \_ /usr/local/ap
nobody   25487  0.2  1.2 37292 26592 ?       S    11:21   0:02  \_ /usr/local/ap
nobody   26363  0.2  1.2 36168 25228 ?       S    11:21   0:02  \_ /usr/local/ap
nobody   27016  0.1  1.2 36300 25348 ?       S    11:21   0:02  \_ /usr/local/ap
nobody   27962  0.2  1.2 36084 25452 ?       S    11:21   0:02  \_ /usr/local/ap
nobody   28659  0.2  1.2 33988 25640 ?       S    11:21   0:02  \_ /usr/local/ap
nobody   29562  0.2  1.2 36308 25536 ?       S    11:21   0:03  \_ /usr/local/ap
nobody   30441  0.2  1.2 35984 24972 ?       S    11:21   0:03  \_ /usr/local/ap
nobody   31004  0.2  1.2 37500 26564 ?       S    11:21   0:03  \_ /usr/local/ap
nobody   31830  0.1  1.2 33980 25192 ?       S    11:21   0:02  \_ /usr/local/ap
nobody   31994  0.2  1.2 37196 26568 ?       S    11:21   0:03  \_ /usr/local/ap
nobody   31995  0.1  1.2 36012 25856 ?       S    11:21   0:02  \_ /usr/local/ap
nobody   31996  0.1  1.3 37448 26832 ?       S    11:21   0:01  \_ /usr/local/ap
nobody     361  0.1  1.2 36000 25108 ?       S    11:21   0:01  \_ /usr/local/ap
nobody     830  0.2  1.2 33632 24964 ?       S    11:21   0:02  \_ /usr/local/ap
nobody     831  0.1  1.2 36380 25456 ?       S    11:21   0:01  \_ /usr/local/ap
nobody    1008  0.2  1.2 36212 25360 ?       S    11:24   0:02  \_ /usr/local/ap
nobody    1017  0.1  1.2 35028 26280 ?       S    11:24   0:01  \_ /usr/local/ap
nobody    1018  0.2  1.2 37596 26672 ?       S    11:24   0:03  \_ /usr/local/ap
nobody    1063  0.2  1.2 37364 26312 ?       S    11:24   0:02  \_ /usr/local/ap
nobody    2037  0.1  1.2 36152 25144 ?       S    11:25   0:01  \_ /usr/local/ap
nobody   25979  0.2  1.2 37400 26368 ?       S    11:32   0:01  \_ /usr/local/ap
nobody   26511  0.2  1.2 36136 25440 ?       S    11:32   0:01  \_ /usr/local/ap
nobody   26512  0.2  1.2 36636 25668 ?       S    11:32   0:01  \_ /usr/local/ap
nobody   31434  0.2  1.2 34220 25356 ?       S    11:37   0:00  \_ /usr/local/ap
nobody   23466  0.3  1.1 34080 22916 ?       S    11:41   0:00  \_ /usr/local/ap
root      4174  0.0  0.0  2952  708 ?        S    Feb14   0:00 /usr/sbin/sshd
root      2097  0.0  0.0  5656 1420 ?        S    11:26   0:00  \_ sshd: root@pt
root      2129  0.0  0.0  4308 1360 pts/0    S    11:26   0:00      \_ -bash
root      4610  0.0  0.0  3060  988 pts/0    R    11:42   0:00          \_ ps -a
cpanel   24709  0.0  0.0 28468 1716 ?        S    10:41   0:00 /usr/bin/stunnel-
root     28559  0.0  0.2 11956 6160 ?        S    10:41   0:01 cpsrvd - waiting 
root     19700  0.0  0.4 19324 9720 ?        S    11:15   0:01 /usr/sbin/clamd
mailnull 19706  0.1  0.0  6672 1112 ?        S    11:15   0:01 /usr/sbin/exim -b
mailnull 31679  0.0  0.1  7488 3028 ?        S    11:37   0:00  \_ /usr/sbin/exi
mailnull 31686  0.0  0.1  7488 3028 ?        S    11:37   0:00  \_ /usr/sbin/exi
mailnull 31708  0.0  0.1  7624 3760 ?        S    11:37   0:00  \_ /usr/sbin/exi
mailnull 31709  0.0  0.1  7624 3760 ?        S    11:37   0:00  \_ /usr/sbin/exi
mailnull 31755  0.0  0.1  7620 3552 ?        S    11:37   0:00  \_ /usr/sbin/exi
mailnull 31774  0.0  0.1  7628 3760 ?        S    11:37   0:00  \_ /usr/sbin/exi
mailnull 31780  0.0  0.1  7628 3768 ?        S    11:37   0:00  \_ /usr/sbin/exi
mailnull 31788  0.0  0.1  7624 3760 ?        S    11:37   0:00  \_ /usr/sbin/exi
mailnull 31812  0.0  0.1  7628 3768 ?        S    11:37   0:00  \_ /usr/sbin/exi
mailnull 31819  0.0  0.1  7624 3760 ?        S    11:37   0:00  \_ /usr/sbin/exi
mailnull 32126  0.0  0.1  7488 3028 ?        S    11:38   0:00  \_ /usr/sbin/exi
mailnull   703  0.0  0.1  7624 3756 ?        S    11:38   0:00  \_ /usr/sbin/exi
mailnull  1108  0.0  0.1  7488 3028 ?        S    11:38   0:00  \_ /usr/sbin/exi
mailnull  1111  0.0  0.1  7624 3756 ?        S    11:38   0:00  \_ /usr/sbin/exi
mailnull  1128  0.0  0.1  7488 3028 ?        S    11:38   0:00  \_ /usr/sbin/exi
mailnull  1134  0.0  0.1  7488 3028 ?        S    11:38   0:00  \_ /usr/sbin/exi
mailnull  1145  0.0  0.1  7624 3760 ?        S    11:38   0:00  \_ /usr/sbin/exi
mailnull  1247  0.0  0.1  7632 3768 ?        S    11:38   0:00  \_ /usr/sbin/exi
mailnull  1265  0.0  0.1  7488 3028 ?        S    11:38   0:00  \_ /usr/sbin/exi
mailnull  1283  0.0  0.1  7632 3764 ?        S    11:38   0:00  \_ /usr/sbin/exi
mailnull  1287  0.0  0.1  7488 3032 ?        S    11:38   0:00  \_ /usr/sbin/exi
mailnull  1288  0.0  0.1  7488 3032 ?        S    11:38   0:00  \_ /usr/sbin/exi
mailnull  1291  0.0  0.1  7628 3764 ?        S    11:39   0:00  \_ /usr/sbin/exi
mailnull  1309  0.0  0.1  7628 3764 ?        S    11:39   0:00  \_ /usr/sbin/exi
mailnull  1321  0.0  0.1  7488 3028 ?        S    11:39   0:00  \_ /usr/sbin/exi
mailnull  1331  0.0  0.1  7628 3768 ?        S    11:39   0:00  \_ /usr/sbin/exi
mailnull  1336  0.0  0.1  7488 3028 ?        S    11:39   0:00  \_ /usr/sbin/exi
mailnull  1341  0.0  0.1  7488 3032 ?        S    11:39   0:00  \_ /usr/sbin/exi
mailnull  1348  0.0  0.1  7624 3756 ?        S    11:39   0:00  \_ /usr/sbin/exi
mailnull  1353  0.0  0.2  7764 4276 ?        S    11:39   0:00  \_ /usr/sbin/exi
mailnull  1377  0.0  0.1  7488 3032 ?        S    11:39   0:00  \_ /usr/sbin/exi
mailnull  1415  0.0  0.1  7488 3032 ?        S    11:39   0:00  \_ /usr/sbin/exi
mailnull  1419  0.0  0.1  7624 3756 ?        S    11:39   0:00  \_ /usr/sbin/exi
mailnull  1435  0.0  0.1  7488 3032 ?        S    11:39   0:00  \_ /usr/sbin/exi
mailnull  1636  0.0  0.1  7488 3028 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull  2482  0.0  0.1  7624 3760 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull  3494  0.0  0.1  7624 3760 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull  4112  0.0  0.1  7628 3768 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull 10831  0.0  0.1  7488 3032 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull 11666  0.0  0.1  7488 3032 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull 12058  0.0  0.1  7488 3028 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull 13988  0.0  0.1  7624 3756 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull 18206  0.0  0.1  7624 3760 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull 21636  0.0  0.1  7624 3756 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull 24081  0.0  0.1  7488 3028 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull 26053  0.0  0.1  7624 3760 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull 29912  0.0  0.1  7628 3760 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull 30239  0.0  0.1  7628 3764 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull 31827  0.0  0.1  7632 3768 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull 32016  0.0  0.1  7628 3768 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull  2460  0.0  0.1  7488 3028 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull  3671  0.0  0.2  7764 4276 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull  3816  0.0  0.1  7624 3760 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull  6814  0.0  0.1  7624 3756 ?        S    11:40   0:00  \_ /usr/sbin/exi
mailnull 11688  0.0  0.1  7632 3768 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 12388  0.0  0.1  7488 3016 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 12994  0.0  0.1  7488 3036 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 19599  0.0  0.1  7488 3032 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 20084  0.0  0.1  7624 3756 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 20406  0.0  0.1  7488 3036 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 21804  0.0  0.1  7624 3756 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 23488  0.0  0.1  7488 3032 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 24705  0.0  0.1  7624 3756 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 28749  0.0  0.1  7624 3756 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 28931  0.0  0.1  7624 3760 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 29220  0.0  0.1  7632 3764 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 29371  0.0  0.1  7624 3760 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 29879  0.0  0.1  7488 3032 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 30964  0.0  0.1  7488 3032 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 31792  0.1  0.1  7620 3552 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 31894  0.0  0.1  7624 3756 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 31926  0.0  0.1  7624 3760 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 32200  0.0  0.1  7488 3032 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull  1295  0.0  0.1  7488 3036 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull  2789  0.0  0.1  7488 3032 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull  3568  0.0  0.1  7488 3032 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull  7654  0.0  0.1  7488 3032 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull  8622  0.0  0.1  7488 3032 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 13649  0.1  0.1  7624 3756 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 15405  0.1  0.1  7488 3032 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 15651  0.1  0.1  7488 3028 ?        S    11:41   0:00  \_ /usr/sbin/exi
mailnull 18025  0.1  0.1  7624 3760 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull 19756  0.2  0.1  7620 3556 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull 21054  0.2  0.1  7488 3028 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull 25364  0.1  0.1  7624 3760 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull 27125  0.2  0.1  7608 3476 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull   309  0.4  0.1  7624 3760 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull   381  0.5  0.1  7488 3028 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull   736  0.6  0.1  7628 3764 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull  1887  1.0  0.1  7624 3756 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull  2831  1.0  0.1  7488 3028 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull  2975  3.0  0.1  7620 3540 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull  3328  0.0  0.0  6680 1068 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull  3429  2.5  0.1  7488 3032 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull  3496  0.0  0.0  6680  668 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull  3649  0.0  0.0  6680  668 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull  3765  0.0  0.0  6680  668 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull  4456  0.0  0.0  6680 1024 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull  4501  0.0  0.1  7488 3028 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull  4573  0.0  0.0  6680  668 ?        S    11:42   0:00  \_ /usr/sbin/exi
mailnull 19712  0.0  0.0  6672 1044 ?        S    11:15   0:00 /usr/sbin/exim -t
root     19733  0.0  1.0 23960 21876 ?       S    11:15   0:00 /usr/bin/spamd -d
root     19758  0.0  1.1 25280 23276 ?       S    11:15   0:01  \_ spamd child
root     19759  0.0  0.9 23960 20528 ?       S    11:15   0:00  \_ spamd child
root     19755  0.0  0.0  3116 1100 ?        S    11:15   0:00 antirelayd
free -m output when load is high:

Code:
             total       used       free     shared    buffers     cached
Mem:          2012       1597        414          0         59        903
-/+ buffers/cache:        634       1377
Swap:         1027          0       1027
vmstat 5 5 output when load is high:

Code:
procs                      memory      swap          io     system         cpu
 r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
 1  0      0 135476  55624 886808    0    0   163   309  482    45 32 14 43 11
 0  0      0 133616  55760 887008    0    0    14   382  424   270 24  3 69  3
 2  0      0 130872  55824 887272    0    0    15   188  440   198 13  2 85  1
 2  1      0 132160  55860 887524    0    0    16   266  465   216 12  1 86  1
httpd.conf values:

Code:
Timeout 8

KeepAlive Off

MaxKeepAliveRequests 100

KeepAliveTimeout 15

MinSpareServers 20
MaxSpareServers 35

StartServers 10

MaxClients 512

MaxRequestsPerChild 10000
my.cnf file:

Code:
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
skip-locking
skip-innodb
query_cache_limit=1M
query_cache_size=32M
query_cache_type=1
max_connections=800
interactive_timeout=100
wait_timeout=100
connect_timeout=10
thread_cache_size=128
key_buffer=16M
join_buffer=1M
max_allowed_packet=16M
table_cache=1024
record_buffer=1M
sort_buffer_size=2M
read_buffer_size=2M
max_connect_errors=10
# Try number of CPU's*2 for thread_concurrency
thread_concurrency=2
myisam_sort_buffer_size=64M
#log-bin
server-id=1

[mysql.server] 
user=mysql 
basedir=/var/lib 

[safe_mysqld] 
err-log=/var/log/mysqld.log 
pid-file=/var/lib/mysql/mysql.pid
open_files_limit=8192 

[mysqldump] 
quick 
max_allowed_packet=16M

[mysql]
no-auto-rehash 
#safe-updates

[isamchk] 
key_buffer=64M
sort_buffer=64M
read_buffer=16M
write_buffer=16M 

[myisamchk]
key_buffer=64M
sort_buffer=64M
read_buffer=16M 
write_buffer=16M
Is there anything I can do to optimize my server? I think a load of 2+ is too high for a single CPU server, although nothing has really started to slow down yet.

Any help is appreciated. High server loads, optimization help

 

 

 

 

Top