From owner-freebsd-questions@FreeBSD.ORG Tue Feb 1 19:17:39 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DCC516A4CE for ; Tue, 1 Feb 2005 19:17:39 +0000 (GMT) Received: from mail21.sea5.speakeasy.net (mail21.sea5.speakeasy.net [69.17.117.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id D04DC43D3F for ; Tue, 1 Feb 2005 19:17:38 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 16430 invoked from network); 1 Feb 2005 19:17:38 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail21.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 1 Feb 2005 19:17:38 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id CCA6E83; Tue, 1 Feb 2005 14:17:37 -0500 (EST) Sender: lowell@be-well.ilk.org To: Matt Rechkemmer References: <20050201175532.GA1295@sdf.lonestar.org> From: Lowell Gilbert Date: 01 Feb 2005 14:17:37 -0500 In-Reply-To: <20050201175532.GA1295@sdf.lonestar.org> Message-ID: <44lla8m6ni.fsf@be-well.ilk.org> Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.3, Openfiles Limit in login.conf not respected X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2005 19:17:39 -0000 Matt Rechkemmer 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)?