https://bugs.kde.org/show_bug.cgi?id=409587
Jos van den Oever <j...@vandenoever.info> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |j...@vandenoever.info --- Comment #7 from Jos van den Oever <j...@vandenoever.info> --- I can confirm this issue. I happens every time when elisa is run. ``` Inotify Watch Capacity Low Your open applications want to watch too many files for changes! When the capacity is exhausted it will prevent further file monitoring from working correctly. Either close some applications or increase the limit. Currently using 25% of instances and 98% of watches. <button>Increase Watch Limit</button> ``` Increasing the limit via the dialog (see attachments) helps to solve the problem. With `inotify-consumers` it is possible to list the applications that use inotify. Elisa uses over 100k monitors and the number keeps increasing. ``` $ bash /tmp/inotify-consumers INOTIFY INSTANCES WATCHES PER COUNT PROCESS PID USER COMMAND ------------------------------------------------------------ 115295 5 2102749 nlnet /nix/store/3wvgmnm5rkqii79arggmvnda25ahqwcq-elisa-23.04.1/bin/elisa 202 1 1954876 nlnet /run/current-system/sw/bin/kded5 126 2 1954922 nlnet /nix/store/d5dv3b5r919hvknf248xvw6rwa5ggbf1-plasma-workspace-5.27.5/bin/plasmashell 117 3 1955567 nlnet /nix/store/3igqa8akmyswkanm6vpk11if4fiqrji8-firefox-113.0.2/bin/.firefox-wrapped --name firefox 114 1 1955198 nlnet /nix/store/cm63hmpc7976x74f344bbg7pa7grj0i6-thunderbird-102.10.1/bin/.thunderbird-wrapped --name thunderbird 19 1 2065953 nlnet /nix/store/0wyqlfsi1gpnqbvy9pkmlbz91vbly65r-rust-analyzer-unwrapped-2022-10-31/bin/rust-analyzer 18 3 392486 nlnet /nix/store/75wxj2a3c0pdbf46bzmff8qr9vbjm5y1-systemd-253.3/lib/systemd/systemd --user 8 1 392718 nlnet /nix/store/w2rxmc5wqlw28r23rrsvl1qwxq3qlhra-dbus-1.14.6/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile 8 1 1954664 nlnet dbus-daemon --nofork --print-address 4 --session 4 1 1954967 nlnet /nix/store/pil9rmdpn1j73j21bbcx60pgcanv30zh-kactivitymanagerd-5.27.5/libexec/kactivitymanagerd 3 3 1945296 nlnet /nix/store/3a566gibjcsrmi0pbdndqpfdpv37wh6a-wireplumber-0.4.14/bin/wireplumber 2 2 410389 nlnet gpg-agent --homedir /home/nlnet/.gnupg --use-standard-socket --daemon 2 1 1954928 nlnet /nix/store/2nhjxk2jcxp6z64iv9r1yxpbafajpjc7-powerdevil-5.27.5/libexec/org_kde_powerdevil 1 1 2037433 nlnet /home/nlnet/.nix-profile/bin/konsole 1 1 2035949 nlnet /nix/store/v7qc7q2w1ji5v0a4gyrh36bm1vxqqvz0-kwallet-5.106.0-bin/bin/kwalletd5 1 1 1954954 nlnet /run/current-system/sw/bin/gmenudbusmenuproxy 1 1 1954704 nlnet /nix/store/dvwkf9i5vyffqs6bn001ili2f94nrqx8-xdg-desktop-portal-1.16.0/libexec/xdg-desktop-portal 115922 WATCHES TOTAL COUNT INotify instances per user (e.g. limits specified by fs.inotify.max_user_instances): INSTANCES USER ----------- ------------------ 29 nlnet ``` Elisa uses 100% CPU while setting all these watches. After running for a few minutes, the watch capacity needs to be increased again. At this point the number of watches is 123674. Increasing the limit more does not create more watches. The limit is at 124304 (`cat /proc/sys/fs/inotify/max_user_watches`). Since elisa has taken all the available inotify watches, other applications cannot set any watches. Closing elisa frees up the watches. -- You are receiving this mail because: You are watching all bug changes.