From owner-freebsd-stable Mon Apr 30 9: 4:40 2001 Delivered-To: freebsd-stable@freebsd.org Received: from dragon.bugsoft.hik.se (dragon.bugsoft.nu [194.47.165.9]) by hub.freebsd.org (Postfix) with ESMTP id 31CE837B424 for ; Mon, 30 Apr 2001 09:04:34 -0700 (PDT) (envelope-from yottaman@writeme.com) Received: from te31002 ([194.47.173.15]) by dragon.bugsoft.hik.se with Microsoft SMTPSVC(5.5.1877.197.19); Mon, 30 Apr 2001 18:04:33 +0200 From: "John Andersson" To: "'Alfred Perlstein'" Cc: Subject: RE: Delayed effects of sysctl.conf Date: Mon, 30 Apr 2001 18:04:33 +0200 Message-ID: <000c01c0d18f$3ef97c00$0fad2fc2@te31002> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <20010430085715.F18676@fw.wintelcom.net> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I didn't find and info about the ulimit built-in, but I actually made a successful test by modified the ircd startup script by adding "su -l xxxx -c /usr/.../ircd". It does not work without the "-l" parameter. It seems a bit strange though, that this should be needed. Probably is the number of descriptors info saved in the shell process somehow, and ircd is using that info. Thanks for the help! Regards, John > -----Original Message----- > From: owner-freebsd-stable@FreeBSD.ORG [mailto:owner-freebsd- > stable@FreeBSD.ORG] On Behalf Of 'Alfred Perlstein' > Sent: den 30 april 2001 17:57 > To: John Andersson > Cc: freebsd-stable@FreeBSD.ORG > Subject: Re: Delayed effects of sysctl.conf >=20 > * John Andersson [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. >=20 > You probably want to use the ulimit builtin to request a larger > limit in your startup script. >=20 > -Alfred >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message