[CentOS] High Loads

Mon Jan 30 09:28:04 UTC 2006
Tom Brown <tom.brown at goodtechnology.com>

Hi

Got a box that acts as a web/db server - recently i have started to see 
odd timeout errors between the app and webserver on this box - Can't see 
anything obvious and as far as i'm aware nothing has changed

any ideas?

   9:27am  up 128 days, 21:12,  1 user,  load average: 4.05, 3.45, 3.07
Mem:  1027760K av, 1022644K used,    5116K free,     196K shrd,  141620K 
buff
Swap: 2097112K av,  624716K used, 1472396K free                  215984K 
cached

   PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
30404 root      25   0 23848  15M  5428 S    14.0  1.5  86:54 java
  7928 root      15   0 12928  12M  6172 S     1.1  1.2   0:02 java
15481 root      16   0  507M 377M  334M S     0.9 37.6   0:03 java
  2733 root      15   0  1448 1448   824 R     0.9  0.1   0:00 top
21372 mysql     15   0 23940  11M  5484 S     0.7  1.1   0:12 mysqld
  9287 root      15   0  507M 377M  334M S     0.3 37.6   0:06 java
31920 mysql     15   0 23940  11M  5484 S     0.3  1.1   0:15 mysqld
   216 root      15   0     0    0     0 SW    0.1  0.0   6:06 kjournald
  1634 root      15   0   892  732   696 S     0.1  0.0 109:45 cmasm2d
30198 root      15   0 23848  15M  5428 S     0.1  1.5   4:34 java
30206 root      15   0 23848  15M  5428 S     0.1  1.5   0:16 java
  4486 root      25   0   744  744   636 R     0.1  0.0   0:00 sh
     1 root      15   0   380  332   332 S     0.0  0.0   0:08 init
     2 root      15   0     0    0     0 SW    0.0  0.0   0:00 keventd
     3 root      15   0     0    0     0 SW    0.0  0.0   0:00 keventd
     4 root      15   0     0    0     0 SW    0.0  0.0   0:00 keventd
     5 root      15   0     0    0     0 SW    0.0  0.0   0:00 keventd


~# vmstat 5
    procs                      memory    swap          io     system 
      cpu
  r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us 
  sy  id
  0  0  0 624740   6612 141484 222308  25  25     6     0   12     5   4 
   9   6
  0  0  0 624740   6592 141488 222324   0   0     2   230  177   501   3 
   2  95
  4  0  0 624740   6536 141492 222348   0   0     1    29  142   856   6 
   3  91
  2  0  0 624740   6320 141496 222380  26   0    26    50  180  1418  18 
   7  75
  0  0  0 624716   6372 141496 222456   0   0    14    23  200   464   4 
   2  95
  0  0  0 624716   6360 141500 222596   0   0    27    42  952   352   3 
   2  95
  0  0  0 624716   6304 141512 222596   0   0     0    39 1378   350   0 
   0  99
  0  0  0 624716   6268 141516 222600   0   0     0   198  360   312   3 
   1  96