Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2006 15:05:55 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Randy Schultz <schultz@sgi.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: loader.conf != limits?
Message-ID:  <20060227210554.GA4232@dan.emsphone.com>
In-Reply-To: <Pine.BSF.4.63.0602271131000.73699@.sgi.com>
References:  <Pine.BSF.4.63.0602271131000.73699@.sgi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 27), Randy Schultz said:
> I've been running some code with larger data sets and needed to up
> some kernerl parameters.  I added this to loader.conf:
>    kern.maxdsiz="1073741824"
>    kern.dfldsiz="1073741824"
>    kern.maxssiz="134217728"
> 
> The odd thing is limits shows:
> Resource limits (current):
>   cputime          infinity secs
>   filesize         infinity kB
>   datasize          1048576 kB
>   stacksize          131072 kB
> 
> Anybody know what's up with this?

Should something be up?  1073741824/1024 is 1048576, which is what the
limit command shows.  The stack size hasn't changed because you didn't
set kern.dflssiz.  You can also set the default sizes in
/etc/login.conf.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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