Date: Sun, 06 Sep 1998 16:58:58 +0100 From: Brian Somers <brian@Awfulhak.org> To: Cy Schubert - ITSD Open Systems Group <cschuber@uumail.gov.bc.ca> Cc: Mike Smith <mike@smith.net.au>, andrew@squiz.co.nz, Tom <tom@uniserve.com>, The Hermit Hacker <scrappy@hub.org>, Bob K <melange@yip.org>, The Lab <thelab@nmarcom.com>, freebsd-stable@FreeBSD.ORG Subject: Re: too many open files Message-ID: <199809061559.QAA07106@woof.lan.awfulhak.org> In-Reply-To: Your message of "Sun, 06 Sep 1998 06:53:54 PDT." <199809061354.GAA00979@cwsys.cwsent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > between sysctl and login.conf, either can be set without a rebuild. > > > > No. The kern.maxfiles sysctl shouldn't be writable in 2.2, and it's > > not writable in 3.0; it refers to the size of a static table. > > I've been setting kern.maxfiles on 2.2 systems for well over a year, > possibly even two years. It seems like it would be a step backwards > for 3.0 to require a kernel rebuild to set this value. Indeed: woof:/usr/src $ uname -a FreeBSD woof.lan.awfulhak.org 3.0-CURRENT FreeBSD 3.0-CURRENT #17: Sat Sep 5 03:02:51 BST 1998 brian@woof.lan.awfulhak.org:/usr/src/sys/compile/WOOF i386 woof:/usr/src $ fgrep maxusers /sys/i386/conf/WOOF maxusers 15 woof:/usr/src $ cat /usr/local/etc/rc.d/0000files.sh #! /bin/sh echo -n ' maxfiles'; sysctl -w kern.maxfiles=2048 sysctl -w kern.maxfilesperproc=128 woof:/usr/src $ pstat -T 136/2048 files 30M/199M swap space > Regards, Phone: (250)387-8437 > Cy Schubert Fax: (250)387-5766 > Open Systems Group Internet: cschuber@uumail.gov.bc.ca > ITSD Cy.Schubert@gems8.gov.bc.ca > Government of BC -- Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org> <http://www.Awfulhak.org> Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809061559.QAA07106>