Here's my top result.

top - 13:15:14 up 42 min,  4 users,  load average: 8.39, 11.34, 17.49
Tasks: 248 total,  10 running, 237 sleeping,   0 stopped,   1 zombie
Cpu(s): 93.6%us,  3.0%sy,  0.0%ni,  0.3%id,  0.0%wa,  1.2%hi,  1.9%si,  0.0%st
Mem:  16901892k total, 11036848k used,  5865044k free,    94052k buffers
Swap:  7164980k total,        0k used,  7164980k free,   225084k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 5896 webuser   19   0  643m 257m 5024 R 100.0  1.6   0:30.25 httpd
 5899 webuser   25   0  633m 249m 3776 R 99.7  1.5   0:24.43 httpd
 5958 webuser   25   0  592m 208m 3640 R 96.7  1.3   0:06.50 httpd
 5881 webuser   25   0  594m 214m 5184 R 94.7  1.3   0:39.21 httpd
 5900 webuser   25   0  631m 249m 4924 R 88.7  1.5   0:18.09 httpd
 5894 webuser   25   0  637m 252m 5024 R 87.7  1.5   0:27.18 httpd
 5878 webuser   24   0  729m 323m 4944 R 75.7  2.0   0:38.49 httpd
 5886 webuser   25   0  634m 249m 4960 R 62.8  1.5   0:29.20 httpd
 5802 webuser   25   0  733m 325m 5036 R 52.5  2.0   0:45.18 httpd
 4899 webuser   16   0  294m  94m 8868 S 15.3  0.6   2:16.64 php
 5923 webuser   15   0  226m  26m 8032 S  7.6  0.2   0:00.78 php
 4134 root      16   0 13424 1472  964 S  4.0  0.0   1:11.36 htop
 4725 webuser   16   0 13432 1480  964 S  3.0  0.0   0:52.41 htop
 3777 webuser   15   0  102m 1820 1004 S  0.3  0.0   0:00.80 sshd
 4416 webuser   15   0  102m 1828 1012 S  0.3  0.0   0:00.58 sshd
    1 root      15   0 10372  684  576 S  0.0  0.0   0:02.57 init


--- On Wed, 3/23/11, Jon Doblados <[email protected]> wrote:

From: Jon Doblados <[email protected]>
Subject: Re: [klug] 100% CPU/Memory Usage for HTTPD
To: "Kagay-Anon Linux Users' Group (KLUG) Mailing List" 
<[email protected]>
Date: Wednesday, March 23, 2011, 10:08 PM

Thank you. Based on your total RAM, disk usage, and your httpd.conf, we can 
exclude mem and space starvation as contributing factors to your problem. Just 
to be sure, when you run top, how much of the memory gets allocated as buffers? 
Does swap get touched when CPU utilization spikes to 100%?

Will you also be able to post sections of your access.log and error.log 
starting right after boot? Can you also share what processes you see via top, 
before and after the CPU starts getting utilized excessively?


On Thu, Mar 24, 2011 at 12:33 PM, gre taguran <[email protected]> wrote:

RAM : 12G
DISK : 72G 21% usage.

Here's my uname

Linux phsrvceswebapps04 2.6.18-238.1.1.el5 #1 SMP Tue Jan 4 13:32:19 EST 2011 
x86_64 x86_64 x86_64 GNU/Linux



--- On Wed, 3/23/11, Jon Doblados <[email protected]> wrote:


From: Jon Doblados <[email protected]>
Subject: Re: [klug] 100% CPU/Memory Usage for HTTPD
To: "Kagay-Anon Linux Users' Group (KLUG) Mailing List" 
<[email protected]>

Date: Wednesday, March 23, 2011, 9:03 PM

On Thu, Mar 24, 2011 at 11:17 AM, gre taguran <[email protected]> wrote:


Hi Team,

Have you encountered an issue where the HTTPD reaches 100% of CPU/Memory 
usage... But when I do a restart (or a stop and start), it went down 
temporarily then after 3 to 4 secs it goes back to 100%. Maybe you can share 
something if you have an idea please...



Thanks.

Can you also provide info on the server, e.g. available memory, available disk 
space, etc.. ?

-----Inline Attachment Follows-----

_________________________________________________
Kagay-Anon Linux Users' Group (KLUG) Mailing List
[email protected] (http://lists.linux.org.ph/mailman/listinfo/klug)

Searchable Archives: http://archives.free.net.ph


      
_________________________________________________

Kagay-Anon Linux Users' Group (KLUG) Mailing List

[email protected] (http://lists.linux.org.ph/mailman/listinfo/klug)

Searchable Archives: http://archives.free.net.ph



-----Inline Attachment Follows-----

_________________________________________________
Kagay-Anon Linux Users' Group (KLUG) Mailing List
[email protected] (http://lists.linux.org.ph/mailman/listinfo/klug)
Searchable Archives: http://archives.free.net.ph


      
_________________________________________________
Kagay-Anon Linux Users' Group (KLUG) Mailing List
[email protected] (http://lists.linux.org.ph/mailman/listinfo/klug)
Searchable Archives: http://archives.free.net.ph

Reply via email to