From owner-freebsd-questions Thu Jan 11 14:41:19 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 541B737B401 for ; Thu, 11 Jan 2001 14:41:00 -0800 (PST) Received: from newmail.ru (DAEMON [212.111.78.231]) by server.Infline.ru with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.1960.3) id Z21K3ADC; Fri, 12 Jan 2001 01:41:24 +0300 Message-ID: <3A5E377A.53225C63@newmail.ru> Date: Fri, 12 Jan 2001 01:45:14 +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: Bill Moran , freebsd-questions@freebsd.org Subject: Re: file table is full References: <3A5E1234.AFC564E2@newmail.ru> <3A5E1310.453E8FF0@mail.iowna.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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