From owner-freebsd-questions@FreeBSD.ORG Wed Nov 19 14:43:31 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 69C2E1065672; Wed, 19 Nov 2008 14:43:31 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by mx1.freebsd.org (Postfix) with ESMTP id 495A38FC13; Wed, 19 Nov 2008 14:43:31 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from blacklamb.mykitchentable.net (unknown [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTP id A775E9BF5C; Wed, 19 Nov 2008 06:43:21 -0800 (PST) Received: from [192.168.1.3] (bigdaddy.mykitchentable.net [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPSA id EB25C164D48; Wed, 19 Nov 2008 06:43:29 -0800 (PST) Message-ID: <4924260F.9040708@mykitchentable.net> Date: Wed, 19 Nov 2008 06:43:27 -0800 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Mel References: <49235108.2030907@mykitchentable.net> <20081119054111.GB77425@icarus.home.lan> <49241D7E.5090600@mykitchentable.net> <200811191516.07650.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200811191516.07650.fbsd.questions@rachie.is-a-geek.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jeremy Chadwick , Polytropon , freebsd-questions@freebsd.org 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:43:31 -0000 Mel wrote: > On Wednesday 19 November 2008 15:06:54 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 >> > > > limits -H. Some loader tuneables aren't exported to sysctl. > > $ limits -Hd > Resource limits (current): > datasize 786432 kB > > $ grep maxdsiz /boot/loader.conf > kern.maxdsiz="768M" > Thanks for the explanation! As pointed out by Pieter de Goeje, the default size in FBSD 7 amd 64 is 32 GB, confirmed with the limits command above. Thus datasize does not appear to be my problem. I'm shooting in the dark here as Urchin software support is non-existent. Are there any other tuneables related to datasize that I might try increasing? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com