From owner-freebsd-questions Thu Mar 6 11:14:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA05172 for questions-outgoing; Thu, 6 Mar 1997 11:14:00 -0800 (PST) Received: from thelab.hub.org (ott-on4-41.netcom.ca [207.181.90.233]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA05167 for ; Thu, 6 Mar 1997 11:13:57 -0800 (PST) Received: from thelab.hub.org (localhost [127.0.0.1]) by thelab.hub.org (8.8.5/8.8.2) with SMTP id PAA08816 for ; Thu, 6 Mar 1997 15:13:44 -0400 (AST) Date: Thu, 6 Mar 1997 15:13:44 -0400 (AST) From: The Hermit Hacker To: questions@freebsd.org Subject: Too many open files... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi... I'm running a news server on a FreeBSD 2.2-CURRENT machine (it was CURRENT when I upgraded to it way way back) and have just added a few news feeds onto it. Over the past couple of days, I've started to get the following error, which I'm assuming is a result of now having more newsfeeds then my currently compiled kernel can handle (am upgrading to the Feb 3.0-CURRENT over the next few days: news> ctlinnd mode Server throttled Too many open files writing article file -- throttling Allowing remote connections Parameters c 14 i 0 (28) l 1000000 o 115 t 300 H 2 T 60 X 0 normal specified Not reserved Readers separate enabled Am I correct in doing the following to fix/reduce this problem: hub# sysctl kern.maxfilesperproc kern.maxfilesperproc: 2088 hub# sysctl kern.maxfiles kern.maxfiles: 2088 hub# sysctl -w kern.maxfiles=4096 kern.maxfiles: 2088 -> 4096 hub# ^files^filesperproc sysctl -w kern.maxfilesperproc=4096 kern.maxfilesperproc: 2088 -> 4096 Am more or less wondering if I've set the correct values... Thanks...