Skip site navigation (1)Skip section navigation (2)
Date:      18 Feb 2003 17:20:23 +1000
From:      Duncan Anker <d.anker@au.darkbluesea.com>
To:        chkno <chkno@chkno.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ulimit -d's upper limit
Message-ID:  <1045552823.9976.20.camel@duncan.au.darkbluesea.com>
In-Reply-To: <200302180710.h1I7AbPe014386@chkno.net>
References:  <200302180710.h1I7AbPe014386@chkno.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2003-02-18 at 17:10, chkno wrote:
> What defines ulimit -d's upper limit?

MAXDSIZ. It defaults to 512Mb. It can be raised by setting it in the
kernel configuration, or adding

kern.maxdsiz="524288"

In your /boot/loader.conf file. Replace 524288 with whatever limit you
want, but don't go above 2^31-1. FreeBSD uses signed ints for this
value, so the results are interesting ...

Regards,
Duncan Anker

-- 
The information contained in this email is confidential. If you are not
the intended recipient, you may not disclose or use the information in
this email in any way. Dark Blue Sea does not guarantee the integrity of
any emails or attached files. The views or opinions expressed are the
author's own and may not reflect the views or opinions of Dark Blue Sea.
Dark Blue Sea does not warrant that any attachments are free from
viruses or other defects. You assume all liability for any loss, damage
or other consequences which may arise from opening or using the
attachments.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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