Bug#486674: Consumes too much CPU and memory when D-Bus emmits lot of signals

Michal Čihař nijel at debian.org
Tue Jun 17 14:45:16 UTC 2008


Package: system-config-printer
Version: 0.7.81-4
Severity: normal
File: /usr/share/system-config-printer/applet.py

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

I did some benchmarking of my D-Bus code which uses signals. After short
time I noticed that printer applet is using lot of CPU and memory. I believe
monitor_session function is responsible for this as it receives *all*
signals on session bus. What is even more funny, it does exactly
*nothing* with all these signals. I do not understand reason of this
code, but please add at least some filtering so that this method is not
called for all signals on session bus.

- -- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com


- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (99, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages system-config-printer depends on:
ii  gksu                          2.0.0-5    graphical frontend to su
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-cups                   1.9.31-1   Python bindings for CUPS
ii  python-dbus                   0.82.4-2   simple interprocess messaging syst
ii  python-elementtree            1.2.6-12   Light-weight toolkit for XML proce
ii  python-glade2                 2.12.1-6   GTK+ bindings: Glade support
ii  python-gnome2                 2.22.0-1   Python bindings for the GNOME desk
ii  python-gtk2                   2.12.1-6   Python bindings for the GTK+ widge
ii  python-notify                 0.1.1-2+b1 Python bindings for libnotify
ii  python-support                0.8.1      automated rebuilding support for P

system-config-printer recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhXzfwACgkQ3DVS6DbnVgSapgCg46GvsuQ6LfrH6nDp8Ua97aYQ
lCoAniIIQzwJZwrsI22TG+KsiVfcmafK
=I+80
-----END PGP SIGNATURE-----






More information about the pkg-gnome-maintainers mailing list