[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FreeBSD 5.3, Openfiles Limit in login.conf not respected



Matt Rechkemmer <tiberius_(_at_)_trancell_(_dot_)_org> writes:

> Hi folks,
> 
> I recently setup FreeBSD 5.3R on my P4 2.4 GHz system and have a slight
> problem with it not respecting the limits set in /etc/login.conf.  The entry
> I've made in /etc/login.conf is below:
> 
> bopm:\
>         :openfiles=8192:\
>         :coredumpsize=unlimited:\
>         :tc=default:
> 
> Yet when a user with that login class logins in, they're offered a openfiles
> limit of 14781 instead of 8192.  In my kernel I've set "maxusers" so FreeBSD
> doesn't attempt to auto-tune this setting.
> 
> I searched the handbook and the FAQ, but didn't come up with anything useful.
> 
> Any help on this, is greatly appreciated!

It works for me; maybe you forgot to run cap_mkdb(1)?

Visit your host, monkey.org