loader.conf != limits?

Dan Nelson dnelson at allantgroup.com
Mon Feb 27 13:05:56 PST 2006

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

	Dan Nelson
	dnelson at allantgroup.com

More information about the freebsd-questions mailing list