From owner-freebsd-stable Fri Dec 7 13: 4:48 2001 Delivered-To: freebsd-stable@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 1C9A437B417 for ; Fri, 7 Dec 2001 13:04:42 -0800 (PST) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id fB7L4Li48425; Fri, 7 Dec 2001 16:04:22 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Fri, 7 Dec 2001 16:04:21 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Vladimir Pianykh Cc: freebsd-stable@FreeBSD.ORG Subject: Re: open file In-Reply-To: <20011207163811.Y63946-100000@VL7.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG sysctl kern.openfiles will tell you how many files are open. sysctl kern.maxfiles will tell you the current system maximum. On recent FreeBSD revisions, you can live modify kern.maxfiles doing: sysctl kern.maxfiles=100000 (For example) You probably want to increase your maxusers, either by recompiling the kernel with a higher limit, or by dropping: kern.maxusers=256 (or a related big number) into /boot/loader.conf. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Fri, 7 Dec 2001, Vladimir Pianykh wrote: > Hi! > > May be it is off-topic, but.... > > Today I taken several messages in my logs about: > > sendmail[]: ....: SYSERR(UID0): Cannot open [different files]: Too may > open files in system > /kernel: file: table is full > ..... > > This is 4-STABLE mail server (~500 users) with not so big mail traffic. > > Where can I increment count of open files (descriptors)? > > Thank you. > > Vladimir. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message