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

Yves-Alexis Perez corsac at corsac.net
Sun Jul 23 09:55:39 UTC 2006

On Sun, 2006-07-23 at 02:15 +0200, Hein Zelle wrote:
> Package: xfce4-panel
> Version:
> Severity: normal
> On my Debian unstable system (athlon 2600), xfce4-panel eats a
> continuous 2% cpu, approximately.  

I'm running xfce4-panel (, to come in the archive). xfce4-panel
uses 0% CPU and 0.7% MEM continuously.

> A strace on the process shows that
> within approximately 10 seconds, the following functions are called:
> > grep -c ioctl strace.log
> 142
> > grep -c gettime strace.log
> 267
> > grep -c poll strace.log
> 141

I can confirm those values, but I don't know if it's really related. I
tried too with xfce4-terminal and epiphany, and I get values like these:

corsac at hidalgo: grep -c ioctl xfce4-terminal.log                     [~]
corsac at hidalgo: grep -c gettime xfce4-terminal.log                   [~]
corsac at hidalgo: grep -c poll xfce4-terminal.log                      [~]

corsac at hidalgo: grep -c ioctl epiphany.log                           [~]
corsac at hidalgo: grep -c gettime epiphany.log                         [~]
corsac at hidalgo: grep -c poll epiphany.log                            [~]

> It appears that the program is polling something rather inefficiently
> and often.  

Polling seems to be quite common.

> 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:

I don't really know why panel is using 2% cpu (it's not quite high but I
can understand it annoys you), but I don't think it's polling-related.


More information about the Pkg-xfce-devel mailing list