<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Logind occupies 100% CPU after resume"
href="https://bugs.freedesktop.org/show_bug.cgi?id=64217">64217</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Logind occupies 100% CPU after resume
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>inkane@chakra-project.org
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>With systemd 198, (probably 199), 200 and 202 , systemd occupies 100% CPU when
suspending (to RAM or to disk) from KDE – and only when NetworkManager is used.
Restarting systemd-logind solves this, though one needs to manually restart
NetworkManager too.
stracing logind shows
epoll_wait(4, {}, 1, 0) = 0
being called multiple times per second. When I attached gdb to systemd-logind
to locate the issue, it showied that logind is cycling around in login/logind.c
(manager_run). The line numbers are from logind as of 202. The output is
available at <a href="http://paste.chakra-project.org/4560/">http://paste.chakra-project.org/4560/</a>
So far I've seen this only affecting us (Chakra Linux), though I don't know how
many distributions besides Arch and us and us have packaged systemd > 197 so
far. As stated above this could only be reproduced on systems suspending from
KDE and using NetworkManager. Users running wicd or using systemctl suspend
were not affected.
Any help with finding the cause of this would be highly appreciated.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>