From owner-freebsd-questions@FreeBSD.ORG Tue Oct 5 21:54:17 2010 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 85DA5106566C for ; Tue, 5 Oct 2010 21:54:17 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 446278FC1E for ; Tue, 5 Oct 2010 21:54:17 +0000 (UTC) Received: by ywp4 with SMTP id 4so256729ywp.13 for ; Tue, 05 Oct 2010 14:54:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=oDqmQsAo0qAQFdYMpkspo/ZngLkT62Ofz/++0CRQCqE=; b=De8j+JCKeXsZivv6V8jcB55s0gQCPKsWYjaJC/CKizM1/gjapOWIxMal7NeiMZvkrR UrAIFdhvInZZVKNb2fxtGRkrr7lmILzQPythK4RTp+UFVoUuRzyR1yHoTHvualNcuZlQ b1x3uB83RRo0rPocwRyrWp7S9FwD0h1NUS8p4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=aelyXIMCUtvwqA0u4lOkPl2r7aoG+DFM2+4Dk0Yv60oMPXGGBG62N+2LhvEpXuLDqU W3t/cQ7o1yGAXTrqxgCgMZNAj2sjNKNSU0S/5/o5GpyMSn9It2ax3fOQD4Tx9apydiLL XJcPeSIG1bZygWbv7REjz2/kRaUtjoqb0opg8= MIME-Version: 1.0 Received: by 10.90.93.14 with SMTP id q14mr4325041agb.180.1286315656522; Tue, 05 Oct 2010 14:54:16 -0700 (PDT) Received: by 10.220.187.194 with HTTP; Tue, 5 Oct 2010 14:54:16 -0700 (PDT) In-Reply-To: References: Date: Tue, 5 Oct 2010 21:54:16 +0000 Message-ID: From: Paul B Mahol To: Mark Stosberg Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: altering "maxdsiz" or "datasize" limit ? 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: Tue, 05 Oct 2010 21:54:17 -0000 On 10/5/10, Mark Stosberg wrote: > > Hello, > > We've been satisfied FreeBSD users for several years at our hosting > company. > > Recently we ran into into a problem where a long running cron script was > dying early because it is hitting FreeBSD's data segment size limit of > 512 Megs, even though the machine has plenty more memory. I would like > to raise this limit, and am currently using FreeBSD 6.2. > > When I researched this, I first found references to tuning "maxdsiz" in > loader.conf, then some pointed out what I found myself.... this variable > is no longer documented and perhaps no longer present in FreeBSD 6.2. > > I also found that it appears you can report on it and change it with the > "limits" command: > > limits -d 1g > > That appears to work in the sense that the command is allowed and no > error is returned, but then if I run a follow up "limits" report again, > I see that no change is reported to have happened. > > So, how I can actually increase this limit? (Both immediately and > persisting through a reboot). kern.maxdsiz In /boot/loader.conf You cant increase it immediately.