From owner-freebsd-stable Mon Apr 30 8:46:36 2001 Delivered-To: freebsd-stable@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 1416437B422 for ; Mon, 30 Apr 2001 08:46:33 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f3UFhfh14356; Mon, 30 Apr 2001 08:43:41 -0700 (PDT) Date: Mon, 30 Apr 2001 08:43:41 -0700 From: Alfred Perlstein To: John Andersson Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Delayed effects of sysctl.conf Message-ID: <20010430084341.E18676@fw.wintelcom.net> References: <000401c0d18b$9aece690$0fad2fc2@te31002> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000401c0d18b$9aece690$0fad2fc2@te31002>; from yottaman@writeme.com on Mon, Apr 30, 2001 at 05:38:29PM +0200 X-all-your-base: are belong to us. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * John Andersson [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