You can limit the maximum number of child processes the apache server can 
start and also the maximum and minimum number of spare child processes in the 
httpd.conf file or for SuSE in the server-tuning.conf file in /etc/apache2/

The exact variables differ depending on whether you're using the prefork, 
worker, leader, metux or perchild MPMs.

Also look at your keepalive settings.

You may also want to look at your acess.log file to see if you're simply not 
getting an attack on yours erver by some particular clients trying to 
overload it.

As for perl processes, have you looked through your CGIs to ensure you are not 
being exploited in some way?


Noah.
On Monday 17 July 2006 10:51, [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. ---------------------------------------

-- 
Noah.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
"Coffee does not make you nervous. your own inadequacies do that. 
Coffee merely increases your perception of your own inadequacies." --Rob 
Austein.
_______________________________________________
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.
---------------------------------------

Reply via email to