Date: Fri, 10 Nov 2006 09:23:28 -0600 From: Paul Dokas <dokas@oitsec.umn.edu> Cc: freebsd-gnome@freebsd.org Subject: Re: gnome 2.16.1, hald, and openfiles... Message-ID: <45549970.1000901@oitsec.umn.edu> In-Reply-To: <1161970619.683.5.camel@pc-racine1.mcmaster.ca> References: <1161970619.683.5.camel@pc-racine1.mcmaster.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Jeffrey Racine wrote: > 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. > > -- Jeff I just found the same thing here after upgrading to Gnome 2.16. The culprit here is hald-addon-storage: # ps -aux | fgrep hal haldaemon 669 0.0 0.4 5156 3764 ?? Ss 8:35AM 0:00.88 /usr/local/sbin/hald root 670 0.0 0.2 3836 2212 ?? I 8:35AM 0:00.04 hald-runner root 675 0.0 0.2 2912 1592 ?? S 8:35AM 0:00.24 hald-addon-storage: /dev/acd0 (hald-addon-storage) root 677 0.0 0.2 2912 1592 ?? S 8:35AM 0:00.22 hald-addon-storage: /dev/acd1 (hald-addon-storage) % fstat | egrep '^root' | awk '{ print $2 }' | sort | uniq -c | sort -nr 585 hald-addon-storage % fstat | egrep '^root' | awk '{ print $2 }' | sort | uniq -c | sort -nr 606 hald-addon-storage % fstat | fgrep hald-addon | less root hald-addon-storage 677 root / 2 drwxr-xr-x 512 r root hald-addon-storage 677 wd /usr/local 800768 drwxr-xr-x 2560 r root hald-addon-storage 677 text /usr/local 801129 -r-xr-xr-x 6208 r root hald-addon-storage 677 0 /dev 22 crw-rw-rw- null r root hald-addon-storage 677 1 /dev 22 crw-rw-rw- null rw root hald-addon-storage 677 2 /dev 22 crw-rw-rw- null rw root hald-addon-storage 677 3* local stream c2f1b834 <-> c2f1bb7c root hald-addon-storage 677 4 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 5 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 6 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 7 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 8 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 9 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 10 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 11 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 12 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 13 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 14 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 15 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 16 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 17 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 18 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 19 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 20 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 21 /dev 150 crw------- xpt0 rw . . . root hald-addon-storage 677 253 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 254 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 255 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 256 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 257 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 258 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 259 /dev 150 crw------- xpt0 rw root hald-addon-storage 677 260 /dev 150 crw------- xpt0 rw So, after a _lot_ of googling, I created the following file, restarted hald and the problem has gone away. % cat /usr/local/share/hal/fdi/preprobe/20thirdparty/10-memory-slots.fdi <?xml version="1.0" encoding="UTF-8"?> <deviceinfo version="0.2"> <device> <match key="block.device" string="/dev/acd0"> <merge key="storage.media_check_enabled" type="bool">false</merge> </match> </device> <device> <match key="block.device" string="/dev/acd1"> <merge key="storage.media_check_enabled" type="bool">false</merge> </match> </device> <device> <match key="block.device" string="/dev/cd0"> <merge key="storage.media_check_enabled" type="bool">false</merge> </match> </device> <device> <match key="block.device" string="/dev/cd1"> <merge key="storage.media_check_enabled" type="bool">false</merge> </match> </device> </deviceinfo> I've also got some problems with rhythmbox not started due to dbus assertions, but that's best left for another email. Paul -- Paul Dokas dokas at oitsec.umn.edu ====================================================================== Don Juan Matus: "an enigma wrapped in mystery wrapped in a tortilla."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45549970.1000901>