Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 13185 invoked by uid 6000); 5 Apr 1999 23:00:15 -0000 Received: (qmail 12711 invoked by uid 2001); 5 Apr 1999 23:00:02 -0000 Received: (qmail 11627 invoked by uid 2012); 5 Apr 1999 22:57:18 -0000 Message-Id: <19990405225718.11626.qmail@hyperreal.org> Date: 5 Apr 1999 22:57:18 -0000 From: Les Fenison Reply-To: les@cybcon.com To: apbugs@hyperreal.org X-Send-Pr-Version: 3.2 Subject: general/4195: Not enough file descriptors Sender: apache-bugdb-owner@apache.org Precedence: bulk >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: les@cybcon.com >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 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! ]