From owner-freebsd-questions Fri Jan 12 5:39:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from server.Infline.ru (unknown [212.111.78.2]) by hub.freebsd.org (Postfix) with ESMTP id C9F5837B402 for ; Fri, 12 Jan 2001 05:39:01 -0800 (PST) Received: from newmail.ru (DAEMON [212.111.78.247]) by server.Infline.ru with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.1960.3) id Z21K3A2R; Fri, 12 Jan 2001 16:39:19 +0300 Message-ID: <3A5F09EF.5A0388E1@newmail.ru> Date: Fri, 12 Jan 2001 16:43:12 +0300 From: Konnov Igor X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Tony M , freebsd-questions@FreeBSD.org Subject: Re: file table is full References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks! It is more preferable to edit in /usr/src/sys/i386/conf. Igor Tony M wrote: > 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