From owner-freebsd-stable Tue Feb 20 22:15:12 2001 Delivered-To: freebsd-stable@freebsd.org Received: from theshell.com (arsenic.theshell.com [63.236.138.5]) by hub.freebsd.org (Postfix) with SMTP id A33B437B4EC for ; Tue, 20 Feb 2001 22:15:06 -0800 (PST) (envelope-from pavalos@theshell.com) Received: (qmail 3263 invoked from network); 21 Feb 2001 06:15:08 -0000 Received: from arsenic.theshell.com (HELO tequila) (root@63.236.138.5) by arsenic.theshell.com with SMTP; 21 Feb 2001 06:15:08 -0000 From: "Peter Avalos" To: "Mike Tancsa" , Subject: RE: file: table is full Date: Wed, 21 Feb 2001 00:22:04 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <4.2.2.20010221004910.01fbce30@marble.sentex.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm not that familiar with lsof, but I definitely got a different result: #> lsof | wc -l 18493 #> sysctl kern.openfiles kern.openfiles: 15958 Is there an easy way to sort the info from lsof so I can better determine where these fd's are being used? I don't feel like parsing through 18493 lines by hand. --Pete -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS/ED/B d-(+) s:+> a-- C++$ UBLO++++$ P+ L++++ E- W+ N+ o? K? w(++) !O M- V- PS+ PE++ Y+ PGP++ t+@ 5 X- R- tv+ b++ DI- D-- G e>+++ h-- r++ y++ ------END GEEK CODE BLOCK------ > -----Original Message----- > From: Mike Tancsa [mailto:mike@sentex.net] > Sent: Tuesday, February 20, 2001 11:51 PM > To: Peter Avalos; stable@FreeBSD.ORG > Subject: Re: file: table is full > > > At 11:36 PM 2/20/2001 -0600, Peter Avalos wrote: > >As you can see, kern.openfiles and fstat totally do not agree. > I'd like some > >suggestions on how to figure out what's going on here. From the > information > >I have, it looks like some sort of fd leak, but this is definitely not my > >area of specialty. > > Does lsof give a correct list of open files ? What program has the > majority of files open ? > > ---Mike > -------------------------------------------------------------------- > Mike Tancsa, tel +1 > 519 651 3400 > Network Administration, mike@sentex.net > Sentex Communications www.sentex.net > Cambridge, Ontario Canada www.sentex.net/mike > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message