Date: Sat, 02 Jul 2005 10:48:14 +0300 From: "Vladimir Chukharev" <chu@h33.erkki.ton.tut.fi> To: "Joe Marcus Clarke" <marcus@freebsd.org> Cc: gnome@freebsd.org Subject: Re: HEADS UP: Realtime update support added to battstat Message-ID: <op.ss9zyowhsh9hi4@localhost> In-Reply-To: <1120279547.45944.6.camel@shumai.marcuscom.com> References: <op.ss6v8jjc1taxl4@kempc17.me.tut.fi> <op.ss66x52ish9hi4@localhost> <1120162303.36495.6.camel@shumai.marcuscom.com> <op.ss8688q1sh9hi4@localhost> <1120279547.45944.6.camel@shumai.marcuscom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 02 Jul 2005 07:45:47 +0300, Joe Marcus Clarke <marcus@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@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@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@chu:~ 10:41:04 $ lsof -p 96529 > batt.lsof chu@chu:~ 10:41:18 $ lsof -p 96529 | diff -u batt.lsof - chu@chu:~ 10:41:27 $ lsof -p 96529 | diff -u batt.lsof - chu@chu:~ 10:45:05 $ So, no change of lsof output during 5 min. Thank you! > Joe -- V.Chukharev
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.ss9zyowhsh9hi4>