Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2001 18:05:50 -0500
From:      "Tony M" <monfiletto@clinic.net>
To:        "Konnov Igor" <igor202@newmail.ru>, "Bill Moran" <wmoran@mail.iowna.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: file table is full
Message-ID:  <EFEOIBBGDKBNGFLCACJMMECACDAA.monfiletto@clinic.net>
In-Reply-To: <3A5E377A.53225C63@newmail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
if it was me I just would have gone to /usr/src/sys/i386/conf and edited the
kernel directly

-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Konnov Igor
Sent: Thursday, January 11, 2001 5:45 PM
To: Bill Moran; freebsd-questions@FreeBSD.ORG
Subject: Re: file table is full


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



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?EFEOIBBGDKBNGFLCACJMMECACDAA.monfiletto>