From owner-freebsd-questions@FreeBSD.ORG Wed Aug 13 07:47:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5591837B401 for ; Wed, 13 Aug 2003 07:47:02 -0700 (PDT) Received: from enterprise.thenetnow.com (enterprise.thenetnow.com [65.39.193.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FAEB43FB1 for ; Wed, 13 Aug 2003 07:47:01 -0700 (PDT) (envelope-from grant@thenetnow.com) Received: from grant (dsla89.ody.ca [216.240.4.89]) by enterprise.thenetnow.com (8.11.6/8.11.6) with SMTP id h7DEbZZ20346 for ; Wed, 13 Aug 2003 10:37:35 -0400 (EDT) (envelope-from grant@thenetnow.com) Message-ID: <009c01c361a9$c03c7220$6501a8c0@grant> From: "Grant Peel" To: Date: Wed, 13 Aug 2003 10:46:59 -0400 Organization: The Net Now MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Kernel - maxusers, NMBCLUSTERS etc. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Grant Peel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2003 14:47:03 -0000 Hi all, I have one maching that is an internet server, it is fairly new and has maxusers set to 132. This morning for the first time, I noticed 'Too many open files in system' on this machine for the first time. As far as I can tell, cron was the only process that crapped out and dumped. I have been reading the nuclear physics pages regading setting these parms in the kernel config, and need some hints. 1. Does anyone use the maxusers=0 parm? If so is it safe, ie does it dynamicly set maxusers on-the-fly, or does it only set at boot time based on the current number of users? 2. If above is not an option, What is the highest safe value for maxusers, NMBCLUSTERS? 512 MB RAM FreeBSD 4.7 1 GB Swap file. Pent IV 1.4 GHz. Any help would be appreciated. -Grant Grant W. Peel Server Admin grant@thenetnow.com http://thenetnow.com