Skip site navigation (1)Skip section navigation (2)
Date:      01 Feb 2005 14:17:37 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Matt Rechkemmer <tiberius@trancell.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 5.3, Openfiles Limit in login.conf not respected
Message-ID:  <44lla8m6ni.fsf@be-well.ilk.org>
In-Reply-To: <20050201175532.GA1295@sdf.lonestar.org>
References:  <20050201175532.GA1295@sdf.lonestar.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Matt Rechkemmer <tiberius@trancell.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)?



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