← Back to team overview

dx-packages team mailing list archive

[Bug 1316830] Re: /usr/lib/accountsservice/accounts-daemon :: memory and CPU time leak

 

Same here, this time on Debian 3.16.43-2+deb8u1 with kernel
3.16.0-4-amd64. I know this is an Ubuntu forum, but this bug ticket is
the closest one for this issue that I could find. Package
accountsservice has version 0.6.37-3+b1.

This machine is running ProFTPd 1.3.5 with a high number of FTP
sessions.

As you can see the wtmp file gets rather large:
-rw------- 1 root utmp      3072 Jul 14 09:53 btmp
-rw------- 1 root utmp  44259072 Jul 17 16:07 wtmp
-rw------- 1 root utmp 119944320 Jul 17 07:49 wtmp.1
-rw------- 1 root utmp 120503424 Jul 16 07:35 wtmp.2
-rw------- 1 root utmp 120549888 Jul 15 07:35 wtmp.3

This is probably the reason why accounts-daemon is eating away most of
by CPU:

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
  587 root      20   0  481984  98616   2520 R 73.5  9.6   1204:19 accounts-daemon

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to accountsservice in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1316830

Title:
  /usr/lib/accountsservice/accounts-daemon :: memory and CPU time leak

Status in accountsservice package in Ubuntu:
  Confirmed

Bug description:
  
  netikras@netikras-netbook ~/received/accountsservice-0.6.20 $ cat /etc/lsb-release 
  DISTRIB_ID=LinuxMint
  DISTRIB_RELEASE=16
  DISTRIB_CODENAME=petra
  DISTRIB_DESCRIPTION="Linux Mint 16 Petra"

  uname -a
  Linux netikras-netbook 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:12:00 UTC 2013 i686 i686 i686 GNU/Linux


  
  Nothing. Using my netbook as usual. Did not really notice when this started since earlier today did not feel any significant slowdowns.

  
  That's what happened:
    PID   USER      PR  NI  VIRT  RES   SHR   S  %CPU %MEM    TIME+  COMMAND           
  13155 root      20   0 61424  25m 2948 R  99,6          1,3   1:06.01 accounts-daemon 

  
  netikras@netikras-netbook /tmp $ while :; do ps aux | grep accounts|grep -v grep;echo; sleep 2; done
  root     13155 93.6 26.1 555660 519912 pts/0   Sl   01:11   3:15 /usr/lib/accountsservice/accounts-daemon

  root     13155 92.7 26.1 555660 519912 pts/0   Sl   01:11   3:15
  /usr/lib/accountsservice/accounts-daemon

  root     13155 91.9 26.1 555660 519912 pts/0   Sl   01:11   3:15
  /usr/lib/accountsservice/accounts-daemon

  
  accounts-daemon is using lots o CPU cycles and memory. Stats above are after restarting daemon for several times. Before this memory usage was >60%; CPU - 100%.

  In file attached you should  be able to see there's a loop checking
  for something repeatedly. Not sure this is the cause though, but feels
  like it..

  
  It's the first time I've noticed this problem, but I often leave my computer running unattended so I cannot tell if it's really the first time it happened.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1316830/+subscriptions