Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2006 13:58:11 -0400
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        racinej@mcmaster.ca
Cc:        freebsd-gnome@FreeBSD.org
Subject:   Re: gnome 2.16.1, hald, and openfiles...
Message-ID:  <454248B3.3070301@FreeBSD.org>
In-Reply-To: <1161971465.683.7.camel@pc-racine1.mcmaster.ca>
References:  <1161970619.683.5.camel@pc-racine1.mcmaster.ca>	 <45424684.4060203@FreeBSD.org> <1161971465.683.7.camel@pc-racine1.mcmaster.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeffrey Racine wrote:
> Many thanks Joe. This is most helpful.
> 
> Naive question... how do I check exactly which files are open?

lsof is the best tool.

Joe

> 
> --  Jeff
> 
> On Fri, 2006-10-27 at 13:48 -0400, Joe Marcus Clarke wrote:
> Jeffrey Racine wrote:
>>>> Hi.
>>>>
>>>> I have traced my open files issue on my machine to hald. This does not
>>>> occur on my notebook, just my desktop...
>>>>
>>>> uname -a
>>>> FreeBSD pc-racine1.mcmaster.ca 6.1
>>>>
>>>> Symptom - if hald is enabled, the number of open files grows and
>>>> eventually hits any limit set (25000 currently). If I kill hald, files
>>>> immediately revert to a stable number...
>>>>
>>>> No hald running...
>>>>
>>>> sysctl kern.openfiles
>>>> kern.openfiles: 1208
>>>> sleep 10
>>>> sysctl kern.openfiles
>>>> kern.openfiles: 1208
>>>>
>>>> hald running...
>>>>
>>>> hald
>>>> sysctl kern.openfiles
>>>> kern.openfiles: 1233
>>>> sleep 10
>>>> sysctl kern.openfiles
>>>> kern.openfiles: 1240
>>>> sleep 20
>>>> sysctl kern.openfiles
>>>> kern.openfiles: 1252
>>>>
>>>> Looks like something is failing to close files, and any suggestions most
>>>> welcome.
> Since you did not actually provide a list of opened files, I cannot say
> for sure, but this seems like a known bug in FreeBSD 6.1 with libcam.
> If you upgrade to 6.2-BETA this will go away.
> 
> Joe
> --
> Joe Marcus Clarke
> FreeBSD GNOME Team	::	gnome@FreeBSD.org
> FreeNode / #freebsd-gnome
> http://www.FreeBSD.org/gnome

- --
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFQkiyb2iPiv4Uz4cRAo/NAKCP+AgA0Ysj4aqsYc8q5qcQthJ55gCgr3NI
8S8d7ftsJh4Qa7AFhMjkpag=
=/tQ6
-----END PGP SIGNATURE-----



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