gnome 2.16.1, hald, and openfiles...

Joe Marcus Clarke marcus at FreeBSD.org
Fri Oct 27 17:57:41 UTC 2006


-----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 at FreeBSD.org
> FreeNode / #freebsd-gnome
> http://www.FreeBSD.org/gnome

- --
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome at 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-----


More information about the freebsd-gnome mailing list