NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Computation of 'ulimit -dH' hard-limit values?
Just how are the hard limit values for 'ulimit' (particularly data size,
"-d") calculated? Are there any machine-dependencies that affect this
calculation?
What I've observed on i386, amd64 and sparc is that the hard limit is
approximately RAM+swap.
On macppc (other powerpc platforms?) it appears to be:
min(RAM+swap, 1GB)
I have a macppc system with 1GB real RAM and 1GB swap, yet 'ulimit -dH'
claims 1048576 (KB).
I have another macppc system with 2GB real RAM and 2GB swap and there
'ulimit -dH' also claims 1048576.
Curious.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index