Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2001 16:04:21 -0500 (EST)
From:      Robert Watson <rwatson@FreeBSD.ORG>
To:        Vladimir Pianykh <fox@vl7.net>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: open file
Message-ID:  <Pine.NEB.3.96L.1011207160256.46918M-100000@fledge.watson.org>
In-Reply-To: <20011207163811.Y63946-100000@VL7.net>

next in thread | previous in thread | raw e-mail | index | archive | help

  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1011207160256.46918M-100000>