<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 --- - big /var/tmp (many entries) stall systemd for a long time"
href="https://bugs.freedesktop.org/show_bug.cgi?id=68232">68232</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>big /var/tmp (many entries) stall systemd for a long time
</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>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>me@mornfall.net
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</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>systemd got stuck on me (or dbus got, can't really tell) and I had to kill
-TERM it. Now it's stuck in a loop doing something with temporary files,
presumably in /var/tmp which has ~ 200k directory entries). An excerpt from
strace -p 1:
unlinkat(19, "nix-ssh.xEovPs", AT_REMOVEDIR) = 0
openat(19, "nix-ssh.1mtYv4",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_NOFOLLOW|O_NOATIME|O_CLOEXEC) = 28
fstat(28, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
fcntl(28, F_GETFL) = 0xf8800 (flags
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_NOFOLLOW|O_NOATIME|O_CLOEXEC)
getdents(28, /* 2 entries */, 32768) = 48
getdents(28, /* 0 entries */, 32768) = 0
close(28) = 0
this goes on and on and on and systemd won't do anything else; I'm nuking those
directories from a shell now, in the hopes it'll get unstuck when they are
gone...</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>