Bug#270195: gnome-applets: battstat-applet doesn't close sockets

Erich Schubert Erich Schubert <erich@debian.org>, 270195@bugs.debian.org
Mon, 06 Sep 2004 04:38:41 +0200


Package: gnome-applets
Version: 2.7.0-1
Severity: normal
Tags: experimental

I tried to run my "suspend" command using battstat, which has always
worked and got the error message that it cannot run the child - too many
open files.
lsof did indeed show hundrets of sockets opened by battstat-applet.

After killing and restarting the applet i got the information that my
acpi daemon wasn't running any more; now the applet works fine again.
Is there a fd leak maybe?
battstat-applet already is at 54 fds if i read the lsof output
correctly. Restarting it - with acpid running - brought this down to 34

I'm running experimental; i don't know if this applies to unstable as
well.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8.1+sws+acpi
Locale: LANG=de_DE.UTF-8@euro, LC_CTYPE=de_DE.UTF-8@euro

Versions of packages gnome-applets depends on:
ii  gnome-applets-data        2.7.0-1        Various applets for GNOME 2 panel 
ii  gnome-panel               2.7.91.1-1     Launch and/or dock GNOME 2 applica
ii  gstreamer0.8-alsa [gstrea 0.8.3-1        ALSA plugin for GStreamer
ii  gstreamer0.8-artsd [gstre 0.8.3-1        aRtsd plugin for GStreamer
ii  gstreamer0.8-esd [gstream 0.8.3-1        Enlightened Sound Daemon plugin fo
ii  gstreamer0.8-jack [gstrea 0.8.3-1        JACK plugin for GStreamer
ii  gstreamer0.8-oss [gstream 0.8.3-1        OSS plugin for GStreamer
ii  libapm1                   3.2.2-2        Library for interacting with APM d
ii  libart-2.0-2              2.3.16-6       Library of functions for 2D graphi
ii  libatk1.0-0               1.6.1-3        The ATK accessibility toolkit
ii  libbonobo2-0              2.6.2-6        Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.6.1-1        The Bonobo UI library
ii  libc6                     2.3.2.ds1-16   GNU C Library: Shared libraries an
ii  libgail-common            1.6.6-1        GNOME Accessibility Implementation
ii  libgail17                 1.6.6-1        GNOME Accessibility Implementation
ii  libgconf2-4               2.7.92-1       GNOME configuration database syste
ii  libglade2-0               1:2.4.0-1      Library to load .glade files at ru
ii  libglib2.0-0              2.4.6-2        The GLib library of C routines
ii  libgnome2-0               2.7.92-1       The GNOME 2 library - runtime file
ii  libgnomecanvas2-0         2.7.1-1        A powerful object-oriented display
ii  libgnomeui-0              2.7.1-1        The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0            2.7.91-3       The GNOME virtual file-system libr
ii  libgstreamer-plugins0.8-0 0.8.3-1        Various GStreamer libraries and li
ii  libgstreamer0.8-0         0.8.5-1        Core GStreamer libraries, plugins,
ii  libgtk2.0-0               2.4.9-1        The GTK+ graphical user interface 
ii  libgtop2-2                2.6.0-4        Libraries for gtop system monitori
ii  libice6                   4.3.0.dfsg.1-6 Inter-Client Exchange library
ii  liborbit2                 1:2.10.2-1.1   libraries for ORBit2 - a CORBA ORB
ii  libpanel-applet2-0        2.7.91.1-1     Library for GNOME 2 Panel applets
ii  libpango1.0-0             1.5.2-1        Layout and rendering of internatio
ii  libpopt0                  1.7-5          lib for parsing cmdline parameters
ii  libsm6                    4.3.0.dfsg.1-6 X Window System Session Management
ii  libx11-6                  4.3.0.dfsg.1-6 X Window System protocol client li
ii  libxklavier8              1.03-1         X Keyboard Extension high-level AP
ii  libxml2                   2.6.11-3       GNOME XML library
ii  xlibs                     4.3.0.dfsg.1-6 X Window System client libraries m
ii  zlib1g                    1:1.2.1.1-7    compression library - runtime

-- no debconf information