From owner-freebsd-questions Sun Nov 5 10:19:59 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 65A9037B479 for ; Sun, 5 Nov 2000 10:19:55 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id eA5IJmg20057; Sun, 5 Nov 2000 10:19:48 -0800 (PST) Date: Sun, 5 Nov 2000 10:19:48 -0800 From: Alfred Perlstein To: Len Conrad Cc: freebsd-questions@FreeBSD.ORG Subject: Re: where to increase number of files Message-ID: <20001105101948.J5112@fw.wintelcom.net> References: <5.0.0.25.0.20001105185632.00ad8680@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <5.0.0.25.0.20001105185632.00ad8680@mail.Go2France.com>; from lconrad@Go2France.com on Sun, Nov 05, 2000 at 07:05:04PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Len Conrad [001105 10:05] wrote: > I've got a client with largish FreeBSD/posfif mailhub (200K > mgs/weekday) that is hitting the 1024 open files limit. Where is the > best place in the startup to insert tweaking commands like this, rc.local? > > > /sbin/sysctl -w kern.maxfiles=2048 > /sbin/sysctl -w kern.maxfilesperproc=2048 /etc/sysctl.conf just add : kern.maxfiles=2048 kern.maxfilesperproc=2048 to it. > > > Thanks, > Len > > > http://BIND8NT.MEIway.com: ISC BIND 8.2.2 p5 & 8.2.3 T6B for NT4 & W2K > http://IMGate.MEIway.com: Build free, hi-perf, anti-spam mail gateways > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message