Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 1997 17:13:57 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        current@freebsd.org
Subject:   limits in login.conf
Message-ID:  <199701130613.RAA07295@godzilla.zeta.org.au>

index | next in thread | raw e-mail

Some of the default limits in login.conf are much smaller than the kernel
defaults:

		kernel		login.conf
		------		----------
datasize	16M		16M
maxproc		40		64
memorylocked	10M		infinity
stacksize	2M		8M

Some are larger and broken:

memoryuse	30M		machine-dependent

The kernel sets this to the maximum amount of real memory available,
which is about 6MB on an 8MB machine, so forcing it to a larger value
is wrong.  I think the kernel defaults should be increased to the
maximum or infinity and setclassresources() should never reduce them.

Bruce


help

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