Apache problems

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
Highland
Forum Regular
Forum Regular
Posts: 674
Joined: Mon Apr 10, 2006 12:55 pm

Apache problems

Unread post by Highland »

Lately I've had Apache having some high run times in the morning. I'm uncertain why this is and a restart of Apache typically fixes it but how can I track the source of this down?

Code: Select all

# ps ax | grep httpd
 1733 ?        S      1:02 /usr/sbin/httpd
 3055 ?        S      0:56 /usr/sbin/httpd
 3057 ?        S      0:55 /usr/sbin/httpd
 4936 ?        S      1:04 /var/asl/usr/sbin/asl-httpd
 8818 ?        S      0:44 /usr/sbin/httpd
 8820 ?        S      0:47 /usr/sbin/httpd
 8821 ?        S      0:44 /usr/sbin/httpd
 8822 ?        S      0:48 /usr/sbin/httpd
 8823 ?        S      0:45 /usr/sbin/httpd
 8824 ?        R      0:46 /usr/sbin/httpd
11315 ?        Ss     0:22 /var/asl/usr/sbin/asl-httpd
12548 ?        S      0:35 /usr/sbin/httpd
12551 ?        S      0:36 /usr/sbin/httpd
12552 ?        S      0:36 /usr/sbin/httpd
12554 ?        S      0:36 /usr/sbin/httpd
12556 ?        S      0:32 /usr/sbin/httpd
12557 ?        S      0:31 /usr/sbin/httpd
12558 ?        S      0:45 /usr/sbin/httpd
15312 ?        S      0:13 /var/asl/usr/sbin/asl-httpd
15343 ?        S      0:12 /var/asl/usr/sbin/asl-httpd
16616 ?        S      0:15 /var/asl/usr/sbin/asl-httpd
16620 ?        S      0:14 /var/asl/usr/sbin/asl-httpd
17530 ?        S      0:21 /usr/sbin/httpd
17533 ?        S      0:24 /usr/sbin/httpd
23273 ?        S      0:12 /usr/sbin/httpd
24412 ?        S      0:11 /usr/sbin/httpd
24413 ?        R      0:10 /usr/sbin/httpd
25329 ?        Ss     0:03 /usr/sbin/httpd
25338 ?        S      1:07 /usr/sbin/httpd
25341 ?        S      1:01 /usr/sbin/httpd
25343 ?        R      1:00 /usr/sbin/httpd
25344 ?        S      1:04 /usr/sbin/httpd
25345 ?        S      0:59 /usr/sbin/httpd
25735 ?        S      1:02 /usr/sbin/httpd
26459 ?        S      1:06 /usr/sbin/httpd
26460 ?        S      1:09 /usr/sbin/httpd
26764 ?        S      0:11 /usr/sbin/httpd
26826 ?        S      0:08 /usr/sbin/httpd
26828 ?        S      0:06 /usr/sbin/httpd
26833 ?        S      0:09 /usr/sbin/httpd
27078 ?        S      1:02 /usr/sbin/httpd
27083 ?        S      1:08 /usr/sbin/httpd
27093 ?        S      1:03 /usr/sbin/httpd
27107 ?        S      1:04 /usr/sbin/httpd
27577 ?        S      1:05 /usr/sbin/httpd
27580 ?        S      1:05 /usr/sbin/httpd
27581 ?        S      1:02 /usr/sbin/httpd
27591 ?        S      0:59 /usr/sbin/httpd
27651 ?        S      1:05 /usr/sbin/httpd
29206 ?        S      0:01 /usr/sbin/httpd
29207 ?        S      0:03 /usr/sbin/httpd
29208 ?        S      0:01 /usr/sbin/httpd
29210 ?        S      0:03 /usr/sbin/httpd
29223 ?        S      0:02 /usr/sbin/httpd
29224 ?        S      0:03 /usr/sbin/httpd
29227 ?        S      0:01 /usr/sbin/httpd
29228 ?        S      0:02 /usr/sbin/httpd
29229 ?        S      0:03 /usr/sbin/httpd
29230 ?        S      0:02 /usr/sbin/httpd
29258 ?        S      1:02 /usr/sbin/httpd
29411 ?        S      1:02 /usr/sbin/httpd
29441 ?        S      1:02 /usr/sbin/httpd
"Its not a mac. I run linux... I'm actually cool." - scott
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Apache problems

Unread post by scott »

Check out mod-top: www.mod-top.org just like top, but for what apache is doing under the hood
Post Reply