linux32 sysctl limits?

Kostik Belousov kostikbel at gmail.com
Fri Oct 8 22:59:08 UTC 2010


On Fri, Oct 08, 2010 at 03:17:01PM -0700, Steve Kargl wrote:
> 'man linux' does not list or describe the following sysctl
> variables.
> 
> compat.linux32.maxvmem: 0
> compat.linux32.maxssiz: 67108864
> compat.linux32.maxdsiz: 536870912
> 
> Are there any limitations with setting these to
> say 1G for stack and 4G for data on a system with
> 16G of memory?

The linux ABI processes are 32bit, so you cannot reallistically assign
4Gb to maxdsiz. The space between data (bss) end and stack bottom is
used for mappings, so it should be kept large enough.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20101008/04ba94e3/attachment.pgp


More information about the freebsd-amd64 mailing list