Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2008 23:12:31 +0100
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Christopher Cowart <ccowart@rescomp.berkeley.edu>
Subject:   Re: Increasing the datasize limit
Message-ID:  <200811042312.32089.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <20081104215200.GA37896@hal.rescomp.berkeley.edu>
References:  <20081104215200.GA37896@hal.rescomp.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 04 November 2008 22:52:00 Christopher Cowart wrote:

> According to setrlimit(2), "Only the super-user may raise the maximum
> limits," but apparently, I can't even increase the limit as the
> superuser.
>
> What am I missing?

The hardcoded default of 512Meg. Adjust in /boot/loader.conf like:
kern.defdsiz="768M"
kern.maxdsiz="768M"

See tuning(7) for more info.
-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811042312.32089.fbsd.questions>