Bug#908293: accountsservice: High CPU usage after system startup, sometimes with memory learage

Mykhailo Mischenko mishenkomihailo at gmail.com
Sat Sep 8 07:32:56 BST 2018

Package: accountsservice
Version: 0.6.37-3+b1
Severity: important

Dear Maintainer,

I have used Debian Wheezy on my laptop for several years, and at some point
of time I noticed freezes in lightdm's login screen. Further investigatio with
htop showed, that the accounts-daemon uses almost 100% of CPU time on one of

Sending the KILL signal to the accounts-daemon instantly releases the freeze
of lightdm, but login attempt in lightdm restarts the accounts-daemon, which
starts to consume 100% of CPU time on one core again and after that I have
another freeze in lihtdm. Killing the accounts-daemon the second time helps
to successfully login.

Also, the accounts-daemon may stop its strange behaviour by itself after
some rather long period of time. There was a single time when I noticed that
it was gradually allocating more and more memory, but this particular
behaviour was not noticed ever again.

For now I run this bash one-line script as a quick and dirty fix:

# while : ; do pkill -KILL accounts-daemon ; sleep 3 ; done

I have included a compressed strace log of the accounts-daemon process,
captured while it was behaving strange.

I understand, that Debian Wheezy is now on LTS, but I have not found any signs
at bugs.freedesktop.org that something like that was ever reported and fixed.
I will live everything on my laptop intact for some time to provide additional
information if it is neded.

-- System Information:
Debian Release: 8.11
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-6-amd64 (SMP w/2 CPU cores)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages accountsservice depends on:
ii  dbus                   1.8.22-0+deb8u1
ii  init-system-helpers    1.22
ii  libaccountsservice0    0.6.37-3+b1
ii  libc6                  2.19-18+deb8u10
ii  libglib2.0-0           2.42.1-1+b1
ii  libpolkit-gobject-1-0  0.105-15~deb8u3

accountsservice recommends no packages.

Versions of packages accountsservice suggests:
ii  gnome-control-center  1:3.14.2-3

-- debconf-show failed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accountsservice.strace.xz
Type: application/x-xz
Size: 24516 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20180908/f63887b6/attachment-0001.xz>

More information about the Pkg-freedesktop-maintainers mailing list