From owner-freebsd-questions Thu Jan 11 15: 6:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from green.pwm.clinic.net (green.pwm.clinic.net [207.228.202.2]) by hub.freebsd.org (Postfix) with ESMTP id DDF5437B69C for ; Thu, 11 Jan 2001 15:05:52 -0800 (PST) Received: from tony (work-8.bath-me.clinic.net [207.228.206.23]) by green.pwm.clinic.net (8.9.3/8.9.3) with SMTP id SAA90524; Thu, 11 Jan 2001 18:05:49 -0500 (EST) (envelope-from monfiletto@clinic.net) From: "Tony M" To: "Konnov Igor" , "Bill Moran" , Subject: RE: file table is full Date: Thu, 11 Jan 2001 18:05:50 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3A5E377A.53225C63@newmail.ru> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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