From owner-freebsd-questions@FreeBSD.ORG Wed Nov 19 14:33:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97A921065672 for ; Wed, 19 Nov 2008 14:33:58 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA08.westchester.pa.mail.comcast.net (qmta08.westchester.pa.mail.comcast.net [76.96.62.80]) by mx1.freebsd.org (Postfix) with ESMTP id 1611B8FC14 for ; Wed, 19 Nov 2008 14:33:57 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA12.westchester.pa.mail.comcast.net ([76.96.62.44]) by QMTA08.westchester.pa.mail.comcast.net with comcast id h1z61a0020xGWP8582ZGkt; Wed, 19 Nov 2008 14:33:16 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA12.westchester.pa.mail.comcast.net with comcast id h2Zv1a00V2P6wsM3Y2Zvtn; Wed, 19 Nov 2008 14:33:56 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=yAtgbVGWl6TGNTtQTmoA:9 a=P-Jd1wppKNZJbzql4ysZMJbFurUA:4 a=EoioJ0NPDVgA:10 a=Sllw8v0m4fwA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 38F1D33C36; Wed, 19 Nov 2008 06:33:55 -0800 (PST) Date: Wed, 19 Nov 2008 06:33:55 -0800 From: Jeremy Chadwick To: Drew Tomlinson Message-ID: <20081119143355.GA89097@icarus.home.lan> References: <49235108.2030907@mykitchentable.net> <20081119010109.5eff6215.freebsd@edvax.de> <4923598F.2080601@mykitchentable.net> <20081119054111.GB77425@icarus.home.lan> <49241D7E.5090600@mykitchentable.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49241D7E.5090600@mykitchentable.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Polytropon , FreeBSD Questions Subject: Re: FBSD 7.1 & kern.maxdsiz X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2008 14:33:58 -0000 On Wed, Nov 19, 2008 at 06:06:54AM -0800, Drew Tomlinson wrote: > Jeremy Chadwick wrote: >> On Tue, Nov 18, 2008 at 04:10:55PM -0800, Drew Tomlinson wrote: >> >>> Polytropon wrote: >>> >>>> On Tue, 18 Nov 2008 15:34:32 -0800, Drew Tomlinson wrote: >>>> >>>>> The Urchin installation docs [...] >>>>> contain a note for FreeBSD users waring of a "hard coded process >>>>> datasiz limit of 500 MB" and instruct on to set >>>>> "kern.maxdsiz="1073741824"" in /boot/loader.conf. However FBSD >>>>> 7.1 doesn't appear to have this sysctl. How can I do the >>>>> equivalent of this in FBSD 7.1? >>>>> >>>> Exactly, it is *not* a sysctl setting. It's a loader tunable, as >>>> I learned from this list some time ago. Don't search to find >>>> it in the sysctl list, you won't find it there. :-) >>>> >>>> In FreeBSD 7 you should be able to set this setting using >>>> the file /boot/loader.conf. I think I had this setting on a >>>> FreeBSD 5 machine, I'll go and check. >>>> >>> Thanks for your reply. I guess I expected to be able to view it via >>> sysctl even though I understood it could only be changed with a >>> reboot. Is there some way to view the current setting? >>> >> >> Through sysctl. >> > > OK, what am I missing? > > urchin# sysctl -a | grep maxdsiz > compat.ia32.maxdsiz: 536870912 > compat.linux32.maxdsiz: 536870912 > > I do not see one named 'kern.maxdsiz'. Actually, you're not missing anything. It's me who's missing (part of my brain). The loader tunables you want are visible via limits(1), not sysctl. Other loader tunables *are* visible through sysctl though, hence my comment. Sorry for the confusion. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |