Too many open files
Hello,
I'd like to report a bug but don't know what package, and reportbug says I should email this list. I'm running Debian Trixie KDE Wayland, and repeatedly seeing "Too many open files".
Two examples:
$ dolphin .
kf.solid.backends.fstab: Failed to acquire watch file descriptor Too many open files
$ tail -f some_big_file
tail: inotify cannot be used, reverting to polling: Too many open files
Also, output of =journalctl -b -1= after a hard crash included the same message. I think it caused a system freeze once. Most of the time, thing still seem to work.
Maybe useful info:
$ ulimit -a
real-time non-blocking time (microseconds, -R) unlimited
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 505450
max locked memory (kbytes, -l) 8192
max memory size (kbytes, -m) unlimited
open files (-n) 32768
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 505450
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
ADDITIONAL INFORMATION
$ sudo lsof > list
$ cut -d" " -f1 list | sort | uniq -c | sort -n| tail
17746 ktailctl
20520 krunner
27511 Isolated
35661 slack
36807 chromium
48317 konsole
56572 kwin_wayl
58080 plasmashe
70303 ferdium
82472 firefox-e
$ sudo lsof | awk '$5 == "REG" {print}' > list_REG
$ cut -d" " -f1 list_REG | sort | uniq -c | sort -n| tail
596 xdg-deskt
808 xwaylandv
853 Isolated
871 emacs
985 plasmashe
1198 kwin_wayl
1205 slack
1877 chromium
2336 ferdium
3798 konsole
Any guidance to fixing this would be much appreciated.
Thanks,
-k.
Reply to: