>Number:         4199
>Category:       config
>Synopsis:       exits with "Too many open files: unable to open a file 
>descriptor above 15 ..."
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Apr  5 20:20:00 PDT 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.4
>Environment:
Env: RedHat Linux 5.2
Compiler: GNU gcc v2.7.2.3
>Description:
Using apache 1.3.4 with PHP3 module. Using NameVirtualHost, when number of 
virtual hosts exceed
approx 65 server will not start. Error log reports the following;

httpd: [Tue Apr  6 12:25:43 1999] [warn] (24)Too many open files: unable to 
open a file descriptor 
above 15, you may need to increase the number of descriptors

Have tried fixex for similar problems encountered in previous versions, no luck.
Have 1024 available file descriptors
Each virtual host has following layout;

<VirtualHost 203.12.144.46>
        ServerName web.hunterlink.net.au
        DocumentRoot /usr/local/apache/htdocs
        ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
        ErrorLog logs/web.hunterlink.net.au/error_log
        TransferLog logs/web.hunterlink.net.au/access_log
        AgentLog logs/web.hunterlink.net.au/agent_log
        RefererLog logs/web.hunterlink.net.au/referer_log
        RefererIgnore web.hunterlink.net.au
</VirtualHost>

Can successfully run multiple servers all using config file of approx 65 
VirtualHost entries.
>How-To-Repeat:
Use 
NameVirtualHost [IP ADDR]

and include 80+ 
<VirtualHost [IP ADDR]>
.
.
</VirtualHost>
>Fix:
Fixes for previous versions do not appear to work...
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]



Reply via email to