Bug#794316: #794316 can't unlock desktop

Timo Juhani Lindfors timo.lindfors at iki.fi
Fri Feb 5 09:56:36 UTC 2016


Hi,

I see this today too (gdm3 3.14.1-7 on amd64 Debian 8). strace shows

3654  <... inotify_init1 resumed> )     = -1 EMFILE (Too many open files)

journalctl shows

Feb 05 11:10:40 sec-282 gdm-session-worker[3654]: <5>AccountsService: Failed to monitor logind session changes: Too many open files

Following
https://kdecherf.com/blog/2015/09/12/systemd-and-the-fd-exhaustion/ I
noticed that gdm-session-worker processes end up consuming all of root's
inotify handles(?)

# find /proc/*/fd/* -type l -lname 'anon_inode:inotify' -print
  2>/dev/null | cut -d/ -f3 |xargs -I '{}' -- ps --no-headers -o '%U' -p
  '{}' | sort | uniq -c | sort -nr
    127 root
     18 lindi
      1 messagebus
      1 colord

Running

sysctl fs.inotify.max_user_instances=256

let's me login but I guess the real bug is still to be solved: Why are
there so many "gdm-session-worker [pam/gdm-password]" processes?

-Timo



More information about the pkg-gnome-maintainers mailing list