HEADS UP: Realtime update support added to battstat
Vladimir Chukharev
chu at h33.erkki.ton.tut.fi
Sat Jul 2 07:48:17 GMT 2005
On Sat, 02 Jul 2005 07:45:47 +0300, Joe Marcus Clarke <marcus at FreeBSD.org> wrote:
> Ah! I was looking for a devd file descriptor leak. I completely forgot
> about /dev/acpi. The fact that you're running into this leak means
> you're probably not connecting to devd.pipe correctly. Check the perms
> on /var/run/devd.pipe to make sure they're 0666. However, I have fixed
chu at chu:~ 10:23:18 $ ls -Fl /var/run/devd.pipe
srw-rw-rw- 1 root wheel 0 Jun 30 21:30 /var/run/devd.pipe=
> the leak, and a new patch is up at
> http://www.marcuscom.com/downloads/patch-battstat-acpi.
Now everything is fine:
chu at chu:~ 10:40:19 $ ps ax | grep batt
96529 ?? S 0:03,13 /usr/X11R6/libexec/battstat-applet-2 --oaf-activate-iid=OAFIID:GNOME_BattstatApplet_Factory --oaf-ior-fd=39
chu at chu:~ 10:41:04 $ lsof -p 96529 > batt.lsof
chu at chu:~ 10:41:18 $ lsof -p 96529 | diff -u batt.lsof -
chu at chu:~ 10:41:27 $ lsof -p 96529 | diff -u batt.lsof -
chu at chu:~ 10:45:05 $
So, no change of lsof output during 5 min.
Thank you!
> Joe
--
V.Chukharev
More information about the freebsd-gnome
mailing list