- Code: Select all
Failed to add /run/systemd/ask-password to directory watch: inotify watch limit reached
In the past, I have ignored that warning, but today I wanted to track it down and find out what is actually causing it, what package is "offended", and what potential danger there is to ignoring such a failure warning.
Searching the forums, I found "Best value for max_user_watches" with these two links:
- Code: Select all
https://wiki.archlinux.org/index.php/ReadyMedia#Automatic_Media_DB_Update
and
- Code: Select all
https://wiki.archlinux.org/index.php/ReadyMedia#Automatic_Media_DB_Update
Apparently I have never added "inotify-tools" to my system, so the related man pages from the bottom of the inotify man page yield no results.
After some study, it appeared that the "solution" offered in the first of the two links might work, so I tried:
- Code: Select all
/etc/sysctl.d# sysctl fs.inotify.max_user_watches=65535
fs.inotify.max_user_watches = 65535
and
- Code: Select all
cat fs.inotify.max_user_watches=65535 >> /etc/sysctl.d/90-inotify.conf
So, my question holds:
What is actually causing this failure? system? package?
Exactly what package is "offended"?
And, MOST important, what potential danger there is to ignoring such a failure warning?