Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2001 00:22:04 -0600
From:      "Peter Avalos" <pavalos@theshell.com>
To:        "Mike Tancsa" <mike@sentex.net>, <stable@FreeBSD.ORG>
Subject:   RE: file: table is full
Message-ID:  <AAEMIFFLKPKLAOJHJANHGEMLDPAA.pavalos@theshell.com>
In-Reply-To: <4.2.2.20010221004910.01fbce30@marble.sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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