httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject general/1181: Too many virtual hosts cause cgi scripts to stop working (fwd)
Date Tue, 30 Sep 1997 13:34:34 GMT
While the problem is a FAQ, adding strerror(errno) to the log message may
not be a bad idea.  Need to figure out what we are doing about errno first
though.

---------- Forwarded message ----------
Date: Tue, 30 Sep 1997 02:30:02 -0700 (PDT)
From: Charles Howes <chowes@ics.bc.ca>
To: apache-bugdb@apache.org
Cc: apache-bugdb@apache.org
Subject: general/1181: Too many virtual hosts cause cgi scripts to stop working


>Number:         1181
>Category:       general
>Synopsis:       Too many virtual hosts cause cgi scripts to stop working
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Tue Sep 30 02:30:02 1997
>Originator:     chowes@ics.bc.ca
>Organization:
apache
>Release:        1.2.4
>Environment:
Linux 2.0.30, maximum file descriptors 256
uname -a: Linux c 2.0.30 #3 Tue Jul 22 18:21:58 PDT 1997 i586 
>Description:
The customer called to report that their page counter wasn't working.
Testing showed that no cgi script anywhere was working.
Tracing showed that open() calls were failing with EMFILE (Too many open files)
Logs showed:
[Tue Sep 30 01:15:46 1997] access to /www/cgi-bin/counter failed for cirrus.imag
.net, reason: couldn't spawn child process
>How-To-Repeat:
Stuff 125 virtual servers, each with two log files, into your httpd.conf file.
Agitate gently.  Pour into a tall glass and quaff deeply.  And then try to call
a page counter.
>Fix:
Check for EMFILE and log a better error message, or find a way to reduce file
handle usage
>Audit-Trail:
>Unformatted:



Mime
View raw message