>Number: 4195 >Category: general >Synopsis: Not enough file descriptors >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Apr 5 16:00:02 PDT 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.3 >Environment: I am running Stronghold/2.4.1 Apache/1.3.3 C2NetEU/2409 BSDI 4.0.1 >Description: Unable to start server if there are too many log files in the conf file. The error in the log file says; [warn] (24)Too many open files: unable to open a file descriptor above 15, you may need to increase the n umber of descriptors
I have tried using this; EXTRA_CFLAGS=-DNO_SLACK -DFD_SETSIZE=1024 I also tried -FD_SETSIZE=1024 but gcc didn't recoginize it. I have also put unlimit openfiles in my sh script that starts the server. >How-To-Repeat: It is easy to repeat. I can send you my httpd.conf or you should be able to duplicate it by putting in about 80 virtual domains each with 4 log file names specified. Each log file being unique to that virtual domain. That should be about 320 log files. >Fix: Not a clue. Find a way to allow more open files. >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! ]