Also you appear to have *two* httpd processes running.
One from /usr/sbin/httpd and the other from /usr/local/apache/bin/httpd.
Maybe one is Apache2, the other is Apache1, maybe they are symlinked
and really the same, who knows?
It also appears that FOUR of them are running. If lots of people are
hitting the server, that would be normal. Apache spawns extra httpd
processes depending on the load and the limits with which it has been
configured.
Following are some relevant directives in httpd.conf. Check them and
see how they have been configured for your server.
MaxSpareServers (defaults to 10)
MinSpareServers (defaults to 5)
ServerLimit (I think this controls the maximum number of servers
spawned, no idea of default value)
StartServers (how many to start, no idea of default)
-- G.
On 7/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Guys
I am having a problem that just began all of a sudden last week. My server
has so many httpdse processes and perl processes that come up as it is
running. These processes are hogging up all my memory and the cpu load is
a trick too.
What could be causing this? Coz I do kill the processes, things get back
fine for a while then all hell breaks loose after some time. This tends to
cause the apache to stop serving sites, sometimes the DNS goes down. I
just dont seem to click whats going on.
Results of a TOP
10:46:19 up 2:03, 1 user, load average: 6.16, 6.42, 6.55
125 processes: 114 sleeping, 7 running, 4 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 134.0% 0.0% 65.8% 0.0% 0.0% 0.0% 0.0%
cpu00 68.9% 0.0% 31.0% 0.0% 0.0% 0.0% 0.0%
cpu01 65.8% 0.0% 34.1% 0.0% 0.0% 0.0% 0.0%
Mem: 4005632k av, 3954380k used, 51252k free, 0k shrd, 172832k buff
2449984k active, 1096576k inactive
Swap: 4192944k av, 2111744k used, 2081200k free 1752352k
cached
Is it normal to have all these httpd processes running?
19232 ? S 0:00 /usr/sbin/httpd
24802 ? S 0:00 /usr/sbin/httpd
27521 ? S 0:00 /usr/local/apache/bin/httpd -DSSL
30784 ? S 0:00 /usr/sbin/httpd
4900 ? S 0:00 /usr/local/apache/bin/httpd -DSSL
9811 ? S 0:00 sshd: [EMAIL PROTECTED]/0
19168 pts/0 S 0:00 -bash
23585 ? S 0:00 /usr/sbin/httpd
23811 ? R 24:15 /usr/sbin/httpd
24869 ? S 0:00 /usr/sbin/httpd
25537 ? S 0:00 /usr/sbin/httpd
30627 ? S 0:00 /usr/local/apache/bin/httpd -DSSL
833 ? R 23:08 /usr/sbin/httpd
3426 ? S 0:00 /usr/sbin/httpd
3939 ? S 0:00 /usr/sbin/httpd
27425 ? R 22:59 /usr/sbin/httpd
14112 ? S 0:00 /usr/sbin/httpd
14342 ? R 23:08 /usr/sbin/httpd
15584 ? S 0:00 /usr/sbin/httpd
16065 ? S 0:00 /usr/sbin/httpd
17248 ? S 0:00 /usr/sbin/httpd
17569 ? S 0:00 /usr/sbin/httpd
18275 ? S 0:00 /usr/sbin/httpd
18819 ? S 0:00 /usr/sbin/httpd
2336 ? S 0:00 /usr/sbin/httpd
2565 ? S 0:00 /usr/sbin/httpd
3810 ? S 0:00 /usr/sbin/httpd
5376 ? S 0:00 /usr/sbin/httpd
22145 ? S 0:00 /usr/sbin/httpd
3427 ? S 0:00 /usr/sbin/httpd
11457 ? S 0:00 /usr/sbin/httpd
17125 ? S 0:00 /usr/sbin/httpd
7073 ? S 0:00 /usr/sbin/httpd
10977 ? S 0:00 /usr/sbin/httpd
12289 ? S 0:00 /usr/sbin/httpd
Thanks for your help
Wire
_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/
The above comments and data are owned by whoever posted them (including
attachments if any). The List's Host is not responsible for them in any way.
---------------------------------------
_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/
The above comments and data are owned by whoever posted them (including
attachments if any). The List's Host is not responsible for them in any way.
---------------------------------------