Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Servers > How to identify what httdd processes/programs are leaking system resources

Forgot Password?
 Servers   Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 06-01-2005   #1 (permalink)
Just 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:

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
I cannot kill the processes with INT, nor they die restarting httpd. The only way to recover the server is to reload.

How can I identify the program running out of control?

Thanks in advance.
raulmontero is offline  


Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 11:30 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2