[Bug 1303649] Re: systemd-logind spins in cgmanager_ping_sync()
James Hunt
1303649 at bugs.launchpad.net
Fri Apr 11 14:27:24 UTC 2014
The problem here is that applications linked to the cgmanager client
library are not calling nih_main_loop(). That's a problem because the
nih-dbus code calls nih_main_loop_interrupt() which adds a byte to the
main loop interrupt pipe. After 65536 bytes have been added to that
pipe, the next call to nih_main_loop_interrupt() will result in the
repeated EAGAIN shown above.
The correct solution is for the clients to use an nih main loop.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libnih in Ubuntu.
https://bugs.launchpad.net/bugs/1303649
Title:
systemd-logind spins in cgmanager_ping_sync()
Status in “cgmanager” package in Ubuntu:
Confirmed
Status in “libnih” package in Ubuntu:
Confirmed
Status in “lxc” package in Ubuntu:
New
Status in “systemd” package in Ubuntu:
New
Bug description:
systemd-logind is consuming a high level of cpu on a continual basis:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
676 root 20 0 43644 2144 1568 R 100.0 0.0 74:43.77 systemd-logind
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: systemd-services 204-5ubuntu17
ProcVersionSignature: Ubuntu 3.13.0-22.44-generic 3.13.8
Uname: Linux 3.13.0-22-generic x86_64
ApportVersion: 2.14.1-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Apr 7 09:09:37 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-04-23 (348 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130423)
SourcePackage: systemd
UpgradeStatus: Upgraded to trusty on 2013-11-11 (146 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1303649/+subscriptions
More information about the foundations-bugs
mailing list