Subject: Re: per process file descriptor limit
To: Christian Biere <christianbiere@gmx.de>
From: Stephen Borrill <netbsd@precedence.co.uk>
List: netbsd-users
Date: 02/05/2007 16:16:48
On Mon, 5 Feb 2007, Christian Biere wrote:
>> Can you by any chance paste a snippet from working /etc/login.conf?
>
> default|Default Class:\
> :datasize=204800000:\
> :coredumpsize-max=unlimited:\
> :coredumpsize-cur=0:\
> :openfiles=1024:\
> :umask=077:\
> :hushlogin:
> root|Uber Class:\
> :coredumpsize-cur=0:\
> :openfiles=128:\
> :umask=077:\
> :hushlogin:\
> :term=vt220:\
> :ignorenologin:
>
> Note that the "default" class in the above example would apply to all users
> unless you put them into any other login class.
This really ought to be committed in commented-out form as an example
/etc/login.conf file. Maybe slightly tidied-up with a couple of other
examples (e.g. daemon class).
--
Stephen