[Pkg-xfce-devel] Bug#734526: lightdm-gtk-greeter: leaking memory

Zlatko Calusic zcalusic at bitsync.net
Tue Jan 7 20:49:48 UTC 2014


Package: lightdm-gtk-greeter
Version: 1.6.1-4
Severity: normal

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     27352  0.2  0.8 143040 36104 tty7     Ss+  17:25   0:22 /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
lightdm  27370  0.4  0.6 401064 26404 ?        Ssl  17:25   0:45 /usr/sbin/lightdm-gtk-greeter

An hour later...

root     27352  0.2  0.9 145452 38476 tty7     Ss+  17:25   0:30 /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
lightdm  27370  0.4  0.6 402252 27460 ?        Ssl  17:25   1:01 /usr/sbin/lightdm-gtk-greeter

That's about +1MB RSS per hour for lightdm-gtk-greeter, and about +2MB RSS per
hour for X. Last time I went on a 2 week vacation, when I returned greeter had
half a gig RSS. Forgot to screenshot it.

To make matters worse, X is not releasing allocated memory after login. It
persists until the end of the session, when it is finally restarted.

I tried reverting to the default theme (Adwaita), but it doesn't change a
thing (still leaks).

Finally, CPU usage is also a bit problematic. I suspect it is somehow connected
to the memory leak. Eventhough 0.2 - 0.4% CPU is not much, it's still unexpected
for a display manager. Not to mention that it doesn't allow CPU on an otherwise
dormant machine to go to deep sleep and probably wastes a lot of power.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13.0-rc6+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lightdm-gtk-greeter depends on:
ii  libc6                   2.17-97
ii  libcairo2               1.12.16-2
ii  libgdk-pixbuf2.0-0      2.28.2-1+b1
ii  libglib2.0-0            2.36.4-1
ii  libgtk-3-0              3.8.6-1
ii  liblightdm-gobject-1-0  1.8.5-3
ii  libx11-6                2:1.6.2-1

Versions of packages lightdm-gtk-greeter recommends:
ii  desktop-base               7.0.3
ii  gnome-icon-theme-symbolic  3.10.1-1
ii  gnome-themes-standard      3.8.4-1
ii  policykit-1                0.105-4

lightdm-gtk-greeter suggests no packages.

-- Configuration Files:
/etc/lightdm/lightdm-gtk-greeter.conf changed:
[greeter]
background=/usr/share/images/desktop-base/login-background.svg
theme-name=Clearlooks-Phenix
xft-antialias=true
xft-hintstyle=hintfull
xft-rgba=rgb
show-clock=true


-- no debconf information



More information about the Pkg-xfce-devel mailing list