Date: Mon, 30 Apr 2001 08:43:41 -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: <20010430084341.E18676@fw.wintelcom.net> In-Reply-To: <000401c0d18b$9aece690$0fad2fc2@te31002>; from yottaman@writeme.com on Mon, Apr 30, 2001 at 05:38:29PM %2B0200 References: <000401c0d18b$9aece690$0fad2fc2@te31002>
next in thread | previous in thread | raw e-mail | index | archive | help
* John Andersson <yottaman@writeme.com> [010430 08:39] wrote: > I have added "kern.maxfiles=16384" and "kern.maxfilesperproc=16384" in > my FreeBSD 4.3 server to raise the number of file descriptors. The > problem is that the ircd daemon does not see these changes at startup, > it reports that there is too few file descriptos. If I manually start > ircd after startup has completed, it starts without complaining. > > It seems like the changes in sysctl.conf at startup does not take effect > until the startup process has completed, perhaps it is after the > securelevel has been raised or something. > > What can I do to solve this? Can I modify the number of file descriptors > in some other way, or start the ircd daemon in some other way? How are you starting ircd? From the looks of it sysctl.conf is read _very early_ during startup and if you're starting ircd before it via startup scripts you're most likely doing something terribly wrong. -- -Alfred Perlstein - [alfred@freebsd.org] http://www.egr.unlv.edu/~slumos/on-netbsd.html 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?20010430084341.E18676>