Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 20311 invoked from network); 28 Sep 2004 15:12:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 28 Sep 2004 15:12:15 -0000 Received: (qmail 66117 invoked by uid 500); 28 Sep 2004 15:10:37 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 66105 invoked by uid 500); 28 Sep 2004 15:10:36 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 66088 invoked by uid 99); 28 Sep 2004 15:10:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [64.89.225.26] (HELO mail.datacomhotel.net) (64.89.225.26) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 28 Sep 2004 08:10:35 -0700 Received: (qmail 43637 invoked by uid 85); 28 Sep 2004 15:08:12 -0000 Received: from dogbert@netnevada.net by archie.datacomhotel.net by uid 89 with qmail-scanner-1.16 (clamscan: 0.60. Clear:. Processed in 2.377604 secs); 28 Sep 2004 15:08:12 -0000 Received: from unknown (HELO parksoft) (64.89.229.11) by 64-89-225-33.datacomhotel.net with SMTP; 28 Sep 2004 15:08:10 -0000 Message-ID: <002101c4a56d$55548fc0$0be55940@parksoft> From: "Bill Parker" To: References: Date: Tue, 28 Sep 2004 08:10:47 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked Subject: Re: [users@httpd] File descriptor limit in Apache 2.0 X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: "James Richardson" To: Sent: Tuesday, September 28, 2004 3:28 AM Subject: [users@httpd] File descriptor limit in Apache 2.0 > > Hi, > > I have reached a limit on the number of open files, on my SuSE Linux > Apache 2 server. > > Looking back at the mailing list archives, I see that by editing the > limits.conf file I can raise the limits above the normal 1024 to some > fairly arbitrary high value. In some cases, the limits.conf file will get ignored (not sure why), but what I usually do to increase open files (since 1024 per process if you are a regular user can be quite low) is to modify the linux kernel source to give more open files on system startup (the file you need to modify is in /usr/src/linux/include/linux and is called 'fs.h', you want to set the NR_OPEN value (it's normally 1024) to some higher value like 8192 (use a power of 2 here), and set the number of reserved files for root (it's 10) to say 128. Save the file, and compile away (i'd also change the value in Makefile on the ExtraVersion line, so you don't overwrite your working kernel and it's module set). Always back up your working kernel and modules before doing modifications to kernel source... Bill --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org