[Pkg-xfce-devel] Bug#379354: xfce4-panel: xfce4-panel uses 2% cpu continuously due to polling

Hein Zelle hein at icce.rug.nl
Sun Jul 23 00:15:22 UTC 2006

Package: xfce4-panel
Severity: normal

On my Debian unstable system (athlon 2600), xfce4-panel eats a
continuous 2% cpu, approximately.  A strace on the process shows that
within approximately 10 seconds, the following functions are called:

> grep -c ioctl strace.log
> grep -c gettime strace.log
> grep -c poll strace.log

It appears that the program is polling something rather inefficiently
and often.  Removing the system load monitor plugin didn't make any
difference, probably because it runs as a separate program.  My panel
is oriented vertically on the right hand side of the screen, and
contains the following items:

XFCE menu (closed)
8 application launchers
pager (3 workspaces)
system load plugin
mixer plugin
action buttons (lock/logout)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages xfce4-panel depends on:
ii  libatk1.0-0               1.11.4-3       The ATK accessibility toolkit
ii  libc6                     2.3.6-15       GNU C Library: Shared libraries
ii  libcairo2                 1.2.0-2        The Cairo 2D vector graphics libra
ii  libexo-0.3-0     Library with extensions for Xfce
ii  libfontconfig1            2.3.2-7        generic font configuration library
ii  libfreetype6              2.2.1-2        FreeType 2 font engine, shared lib
ii  libglib2.0-0              2.10.3-2       The GLib library of C routines
ii  libgtk2.0-0               2.8.18-1       The GTK+ graphical user interface 
ii  libice6                   1:1.0.0-3      X11 Inter-Client Exchange library
ii  libpango1.0-0             1.12.3-1       Layout and rendering of internatio
ii  libpng12-0                1.2.8rel-5.1   PNG library - runtime
ii  libsm6                    1:1.0.0-4      X11 Session Management library
ii  libstartup-notification0  0.8-1          library for program launch feedbac
ii  libx11-6                  2:1.0.0-7      X11 client-side library
ii  libxcursor1           X cursor management library
ii  libxext6                  1:1.0.0-4      X11 miscellaneous extension librar
ii  libxfce4util2        Utility functions library for Xfce
ii  libxfcegui4-4        Basic GUI C functions for Xfce4
ii  libxfixes3                1:    X11 miscellaneous 'fixes' extensio
ii  libxi6                    1:1.0.0-5      X11 Input extension library
ii  libxinerama1              1:1.0.1-4      X11 Xinerama extension library
ii  libxrandr2                2:    X11 RandR extension library
ii  libxrender1               1:    X Rendering Extension client libra
ii  procps                    1:3.2.7-2      /proc file system utilities
ii  zlib1g                    1:1.2.3-13     compression library - runtime

xfce4-panel recommends no packages.

-- no debconf information

More information about the Pkg-xfce-devel mailing list