Results 1 to 1 of 1
Hi: My Linux server is overloaded by some httpd threads which are taking a lot of CPU. I have tried to identify what are the programs running behind these processes ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-01-2005 #1Just Joined!
- Join Date
- Jun 2005
- Posts
- 1
How to identify what httdd processes/programs are leaking system resources
Hi: My Linux server is overloaded by some httpd threads which are taking a lot of CPU. I have tried to identify what are the programs running behind these processes with top -c and ps auxwww, but I cannot find the way. Here is the top screen:
I cannot kill the processes with INT, nor they die restarting httpd. The only way to recover the server is to reload.Code:7:52am up 2 days, 17:41, 1 user, load average: 13.72, 13.91, 14.60 136 processes: 120 sleeping, 16 running, 0 zombie, 0 stopped CPU states: 96.6% user, 3.3% system, 0.0% nice, 0.0% idle Mem: 117088K av, 113900K used, 3188K free, 0K shrd, 1456K buff Swap: 779112K av, 82972K used, 696140K free 35312K cached PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 9241 nobody 17 0 5168 1736 1732 R 7.1 1.4 3:54 /usr/sbin/httpd 10078 nobody 16 0 3296 228 224 R 6.9 0.1 1040m /usr/sbin/httpd 2633 nobody 16 0 3264 244 240 R 6.9 0.2 183:08 /usr/sbin/httpd 4016 nobody 17 0 3076 244 240 R 6.9 0.2 181:38 /usr/sbin/httpd 32618 nobody 16 0 2988 260 256 R 6.9 0.2 159:39 /usr/sbin/httpd 1522 nobody 16 0 3136 284 276 R 6.9 0.2 159:31 /usr/sbin/httpd 23068 nobody 16 0 3556 452 448 R 6.9 0.3 15:46 /usr/sbin/httpd 23316 nobody 17 0 3200 420 416 R 6.9 0.3 15:44 /usr/sbin/httpd 23639 nobody 17 0 2832 576 572 R 6.9 0.4 15:39 /usr/sbin/httpd 23861 nobody 17 0 3256 588 584 R 6.9 0.5 15:57 /usr/sbin/httpd 7802 nobody 17 0 3928 776 772 R 6.9 0.6 3:55 /usr/sbin/httpd 8570 nobody 16 0 3476 608 604 R 6.9 0.5 3:49 /usr/sbin/httpd 8604 nobody 17 0 3568 708 704 R 6.9 0.6 4:15 /usr/sbin/httpd 16054 ac7913 9 0 1928 1924 1452 S 1.9 1.6 0:00 ipop3d 15187 nobody 10 0 4672 4380 1944 S 1.7 3.7 0:00 /usr/sbin/httpd 15173 nobody 13 0 5060 4828 2004 S 1.5 4.1 0:00 /usr/sbin/httpd 15559 nobody 9 0 4280 3980 1932 S 0.9 3.3 0:00 /usr/sbin/httpd 12739 root 10 0 948 904 680 R 0.3 0.7 0:09 top 15512 nobody 9 0 4612 4332 1956 S 0.1 3.6 0:00 /usr/sbin/httpd 15536 nobody 9 0 4648 4376 1960 S 0.1 3.7 0:00 /usr/sbin/httpd 15538 nobody 8 0 4564 4280 1892 S 0.1 3.6 0:00 /usr/sbin/httpd 1 root 8 0 328 284 260 S 0.0 0.2 0:08 init [3] 2 root 9 0 0 0 0 SW 0.0 0.0 0:00 keventd 3 root 19 19 0 0 0 SWN 0.0 0.0 0:02 ksoftirqd_CPU0 4 root 9 0 0 0 0 SW 0.0 0.0 0:50 kswapd 5 root 9 0 0 0 0 SW 0.0 0.0 0:00 bdflush 6 root 9 0 0 0 0 SW 0.0 0.0 0:18 kupdated 10 root -1 -20 0 0 0 SW< 0.0 0.0 0:00 mdrecoveryd 11 root 9 0 0 0 0 SW 0.0 0.0 0:42 kjournald 127 root 9 0 0 0 0 SW 0.0 0.0 0:00 kjournald 128 root 9 0 0 0 0 SW 0.0 0.0 0:48 kjournald
How can I identify the program running out of control?
Thanks in advance.


Reply With Quote
