[systemd-bugs] [Bug 68232] New: big /var/tmp (many entries) stall systemd for a long time

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Aug 17 14:16:44 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=68232

          Priority: medium
            Bug ID: 68232
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: big /var/tmp (many entries) stall systemd for a long
                    time
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: me at mornfall.net
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

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...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130817/df5a83a8/attachment.html>


More information about the systemd-bugs mailing list