From owner-freebsd-gnome@FreeBSD.ORG Sat Jul 2 07:48:17 2005 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B7AB16A41C; Sat, 2 Jul 2005 07:48:17 +0000 (GMT) (envelope-from chu@h33.erkki.ton.tut.fi) Received: from h33.erkki.ton.tut.fi (h33.erkki.ton.tut.fi [193.166.84.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1426C43D49; Sat, 2 Jul 2005 07:48:16 +0000 (GMT) (envelope-from chu@h33.erkki.ton.tut.fi) Received: from [10.10.1.4] (helo=localhost) by h33.erkki.ton.tut.fi with esmtp (Exim 4.50 (FreeBSD)) id 1DochU-000J7O-1q; Sat, 02 Jul 2005 10:46:08 +0300 Date: Sat, 02 Jul 2005 10:48:14 +0300 To: "Joe Marcus Clarke" References: <1120162303.36495.6.camel@shumai.marcuscom.com> <1120279547.45944.6.camel@shumai.marcuscom.com> From: "Vladimir Chukharev" Organization: @home Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <1120279547.45944.6.camel@shumai.marcuscom.com> User-Agent: Opera M2/8.01 (FreeBSD, build 1204) Cc: gnome@freebsd.org Subject: Re: HEADS UP: Realtime update support added to battstat X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jul 2005 07:48:17 -0000 On Sat, 02 Jul 2005 07:45:47 +0300, Joe Marcus Clarke 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