Apache CGI load question

Apache CGI load question

Post by Ken Willia » Sun, 07 Mar 1999 04:00:00



I have a couple huge sites that run endless amounts of CGI all day long.  I
constantly get:

[Sat Mar  6 17:08:47 1999] [error] [client 24.216.92.184] (11)Try again:
couldn't spawn child process: /apache133/web/site.com/perlprogram.cgi

every say 4 seconds, with the client getting the standard error 500 -
unrecoverable server error.  I'm under Linux 2.0.35.

This use to bring my server to the ground, but I added more memory, and the
server is fine now, except for Apache.  All CGI is run as "nobody".  My top
command says:

 5:21pm  up 32 days,  2:41,  2 users,  load average: 7.11, 5.36, 4.24
278 processes: 259 sleeping, 8 running, 11 zombie, 0 stopped
CPU states: 42.8% user, 23.8% system,  0.1% nice, 38.7% idle
Mem:  257168K av, 237796K used,  19372K free, 267660K shrd,  71272K buff
Swap: 120480K av,      0K used, 120480K free                 47420K cached

My httpd.conf has

KeepAlive On
MaxKeepAliveRequests 1000
KeepAliveTimeout 30
MinSpareServers 5
MaxSpareServers 25
StartServers 5
MaxClients 500
MaxRequestsPerChild 3000

Is there anything at all I can do to allow more damn CGI to run?  Whats with
the limit anyway?  I just want to run an unlimited number of nobody CGI
processes.  How can I do that?

Thanks

 
 
 

1. Apache server behind Apache proxy / CGI environment question

I have Apache 1.3.3 installed as my webserver. I also use Apache as a
proxy. My problem is that I want to see the "correct" value for
REMOTE_HOST, but the only value I get is the name of the proxy. Is this
possible and if, how?

A perhaps easier question is if it is possible to tell if the request
originated from the machine running the proxy or not.

//Hans Svensson

2. system suggestions

3. Can't load CGI.pm on Apache 1.3.3

4. Diamond Stealth 2000 3D

5. Apache - automatically loading index.cgi?

6. Rdist not update the owners/rights when they are changed.

7. Can't load any CGI or PERL in Win32 version of Apache (1.3.12)

8. Messenger Icon

9. Apache sucks - can't handle my CGI load?

10. Apache configuration-loading .html files in cgi-bin folder

11. /cgi-bin/phf /cgi-bin/test-cgi /cgi-bin/handler

12. Apache/CGI: How to toggle an ErrorDocument from a CGI ?

13. WAP/WML cgi broken! apache/mod_perl CGI::WML