Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2001 01:45:14 +0300
From:      Konnov Igor <igor202@newmail.ru>
To:        Bill Moran <wmoran@mail.iowna.com>, freebsd-questions@freebsd.org
Subject:   Re: file table is full
Message-ID:  <3A5E377A.53225C63@newmail.ru>
References:  <3A5E1234.AFC564E2@newmail.ru> <3A5E1310.453E8FF0@mail.iowna.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Moran wrote:

> Konnov Igor wrote:
> >
> > I use FreeBSD 3.4 and Samba to share files with 15 windows computers.
> > When these hosts open about 230 files at once, kernel puts the
> > message:
> >   file table is full, too many open files.
> >
> > How to increase the maximum number of open files?
> > Thanks in advance.
>
> Use sysctl to increase the value of kern.maxfiles. Look also at
> increasing maxusers in your kernel config and recompiling your kernel.
>
> -Bill

Thanks, now it works fine. sysctl allows only to decrease maxfiles.
I have defined MAXFILES in /usr/src/sys/conf/param.c and recompiled
kernel.
I was without an idea what way to search it. You helped me much!

Igor



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A5E377A.53225C63>