server question
ok i'm wondering what is causing the high loads on my server and what i could do to fix it, and make the server faster.
i'm on a p4 2.6ghz with 2gb of ram.
(2) 80 GB IDE harddrives
i'm running around 200,000 hits a day to my movie galleries as an estimate which all have 4x1mb movies on them.
i also run 4 tgps which are mostly fairly small.
one gets around 70-80k/day and the others just get under 8k/day
the sites use tm3 and comus thumbs to run them.
this is the result from top. the load hovers between 5-15 usually and then spikes at 100 sometimes.
20:04:41 up 27 days, 3:17, 1 user, load average: 17.01, 11.12, 10.78
375 processes: 360 sleeping, 14 running, 1 zombie, 0 stopped
CPU states: 6.3% user 15.6% system 0.0% nice 0.0% iowait 77.9% idle
Mem: 2063328k av, 2038176k used, 25152k free, 0k shrd, 69028k buff
1534512k actv, 13936k in_d, 50144k in_c
Swap: 2040244k av, 33532k used, 2006712k free 1600892k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
20463 root 15 0 3960 240 188 S 3.3 0.0 1:13 0 httpd
6 root 15 0 0 0 0 SW 0.7 0.0 62:23 0 kscand/Normal
1785 root 15 0 1352 1352 800 R 0.7 0.0 0:03 0 top
3630 root 15 0 100 24 12 S 0.5 0.0 209:03 0 portsentry
1 root 15 0 108 80 56 S 0.0 0.0 0:08 0 init
2 root 15 0 0 0 0 SW 0.0 0.0 0:02 0 keventd
3 root 34 19 0 0 0 SWN 0.0 0.0 0:13 0 ksoftirqd_CPU
8 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 bdflush
4 root 15 0 0 0 0 SW 0.0 0.0 3:41 0 kswapd
5 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kscand/DMA
7 root 16 0 0 0 0 SW 0.0 0.0 342:44 0 kscand/HighMe
9 root 15 0 0 0 0 SW 0.0 0.0 0:03 0 kupdated
10 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 mdrecoveryd
14 root 15 0 0 0 0 SW 0.0 0.0 13:59 0 kjournald
84 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 khubd
3002 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kjournald
any help or advice would be great.
i'm at he.net on 100mbps server and it can't even manage to push 50mbps when its in peak time at loads of 50 fairly constant(from what i saw last night)
thanks
Paul
|