From owner-freebsd-current@FreeBSD.ORG Fri Jan 9 14:28:25 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 212C916A500 for ; Fri, 9 Jan 2004 14:28:25 -0800 (PST) Received: from goa.freejamaica.servebeer.com (host-212-158-226-199.bulldogdsl.com [212.158.226.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A6F843D70 for ; Fri, 9 Jan 2004 14:27:45 -0800 (PST) (envelope-from raver@hosting.sytes.net) Received: from goa.freejamaica.servebeer.com (localhost [127.0.0.1]) i09MR7fp074009 for ; Fri, 9 Jan 2004 22:27:13 GMT (envelope-from raver@hosting.sytes.net) Date: Fri, 9 Jan 2004 22:27:07 +0000 From: raver To: freebsd-current@freebsd.org Message-ID: <20040109222707.GA35687@goa.freejamaica.servebeer.com> References: <20040108012424.GL650@goa.freejamaica.servebeer.com> <20040109105219.J24072@carver.gumbysoft.com> Mime-Version: 1.0 Content-Type: text/plain; Format=Flowed; DelSp=Yes; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040109105219.J24072@carver.gumbysoft.com> (from dwhite@gumbysoft.com on Fri, Jan 09, 2004 at 18:55:09 +0000) X-Mailer: Balsa 2.0.15 Lines: 64 Subject: Re: Open-motif installation X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 22:28:25 -0000 On 01/09/04 18:55:09, Doug White wrote: > On Thu, 8 Jan 2004, raver wrote: > > > Hi mates! > > Since one month ago is being impossible to install open-motif. > Every > > time I tried it I got the same error: > > > > ===> Applying FreeBSD patches for open-motif-2.2.2_1 > > sed: /usr/ports/x11-toolkits/open-motif/work/openmotif-2.2.2/doc/ > man/ > > man3/ > > XmPrintSetup.3: Too many open files > > You seem to be hitting the # of files resource limit. While this is > running do 'sysctl kern.openfiles' and see if it is getting close to > the > value of 'sysctl kern.maxfiles'. If it is then you need to increase > kern.maxfiles and kern.maxfilesperproc. > I checked kern.maxfilesperproc and its value is 324 by default, so I increase it up to 20000, the same value as kern.maxfiles. # sysctl -a kern | grep files kern.maxfiles: 20000 kern.maxfilesperproc: 20000 kern.openfiles: 225 Then I install open-motif showing the value of kern.openfiles during the process. That value never got further than 600 but I # while ( 1 ) while? sysctl kern.openfiles && sleep 2 while? end kern.openfiles: 224 kern.openfiles: 232 kern.openfiles: 236 kern.openfiles: 235 kern.openfiles: 226 kern.openfiles: 228 kern.openfiles: 228 kern.openfiles: 228 kern.openfiles: 228 kern.openfiles: 228 kern.openfiles: 228 kern.openfiles: 250 kern.openfiles: 541 kern.openfiles: 219 kern.openfiles: 219 kern.openfiles: 219 Cheers, > -- > Doug White | FreeBSD: The Power to Serve > dwhite@gumbysoft.com | www.FreeBSD.org > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current- > unsubscribe@freebsd.org" > >