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
[EMAIL PROTECTED]      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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-stable" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to