← Back to team overview

desktop-packages team mailing list archive

[Bug 1395547] Re: xfsettingsd and xfce4-volumed using a lot of CPU after screen lock / unlock

 

I ran a strace on the xfsettingsd pid, logged out, logged in and I could
see a lot of these repeating:

poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\20\0\3\0\3\0\0\0AltL", 12}, {NULL, 0}, {"", 0}], 3) = 12
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0\213\346\0\0\0\0\232\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(3, 0x7fffc492a350, 0)           = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7fffc492a350, 0)           = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\20\0\5\0\n\0\0\0LevelThree\0\0", 20}, {NULL, 0}, {"", 0}], 3) = 20
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0\214\346\0\0\0\0\233\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(3, 0x7fffc492a350, 0)           = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7fffc492a350, 0)           = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\20\0\3\0\4\0\0\0LAlt", 12}, {NULL, 0}, {"", 0}], 3) = 12
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0\215\346\0\0\0\0\234\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(3, 0x7fffc492a350, 0)           = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7fffc492a350, 0)           = -1 EAGAIN (Resource temporarily unavailable)

The values are different between the calls as you can see (though
usually similar), but they seem to be repeating endlessly, till the
system settles down several minutes down the road, when it all stops.

Not sure if relevant, let me know if I can provide any information that
could help track the issue down.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-video-ati in Ubuntu.
https://bugs.launchpad.net/bugs/1395547

Title:
  xfsettingsd and xfce4-volumed using a lot of CPU after screen lock /
  unlock

Status in xfce4-settings package in Ubuntu:
  Confirmed
Status in xfce4-volumed package in Ubuntu:
  Confirmed
Status in xserver-xorg-video-ati package in Ubuntu:
  New

Bug description:
  Just upgraded to Xubuntu 14.10, had issues with fglrx (see
  http://askubuntu.com/questions/552795/xubuntu-14-10-upgrade-issues-
  with-fglrx), went back to radeon drivers. Now it looks to be OK,
  however after locking the screen using xflock4 and unlocking, I get
  these three processes using a lot of CPU (this is on 4-core Phenom II
  X4 N950):

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                    
   1572 root      20   0  262892  56672  26480 R  89.7  1.4   6:48.70 Xorg                                                                                                       
   5025 usr       20   0  312116  11336   4632 R  36.9  0.3   0:17.42 xfce4-volumed                                                                                              
   5036 usr       20   0  327328  10556   5760 S  31.5  0.3   0:13.38 xfsettingsd          

  Additional information:

  - Killing and restarting xfsettingsd and xfce4-volumed resolves the issue until next sleep cycle
  - When running only xfce4-volumed, but not xfsettingsd, the issue does not appear
  - This can be reproduced always. ATI Radeon Mobility HD 5650 video card
  - The CPU usage does not seem to go down after a while
  - If I got it correctly, it looks like some other processes are also going to high CPU usage after killing xfce4-volumed. I think I saw xfce4-xkb-plugin going to 95% CPU usage
  - The issue happens before unlock, i.e. locking then pressing a key to get a login dialog, then switching to vty1 and doing a top yields the above

  Not sure what else I should check / post that can be useful for
  troubleshooting, let me know.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: xfce4-settings 4.11.3-0ubuntu2
  ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Sun Nov 23 18:34:02 2014
  InstallationDate: Installed on 2014-04-24 (213 days ago)
  InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
  SourcePackage: xfce4-settings
  UpgradeStatus: Upgraded to utopic on 2014-11-22 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfce4-settings/+bug/1395547/+subscriptions