Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2001 08:57:15 -0700
From:      "'Alfred Perlstein'" <bright@wintelcom.net>
To:        John Andersson <yottaman@writeme.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Delayed effects of sysctl.conf
Message-ID:  <20010430085715.F18676@fw.wintelcom.net>
In-Reply-To: <000b01c0d18d$cf5ee2f0$0fad2fc2@te31002>; from yottaman@writeme.com on Mon, Apr 30, 2001 at 05:54:16PM %2B0200
References:  <20010430084341.E18676@fw.wintelcom.net> <000b01c0d18d$cf5ee2f0$0fad2fc2@te31002>

next in thread | previous in thread | raw e-mail | index | archive | help
* John Andersson <yottaman@writeme.com> [010430 08:54] wrote:
> The ircd is started by a startup script in /usr/local/etc/rc.d/. I
> looked at the /etc/rc script and noticed (as you said) that sysctl.conf
> is read long before the ircd startup script.
> 
> Still, ircd does not notice the changes in maxfiles. Similar effects can
> be found by executing the "limit" built-in command in tcsh, that reports
> the number of descriptors. It does not see the changes directly after
> "sysctl -w kern.maxfiles", but it does so later, after a login.

You probably want to use the ulimit builtin to request a larger
limit in your startup script.

-Alfred


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?20010430085715.F18676>