Showing posts with label Failed to add /run/systemd/ask-password to directory watch: No space left on device. Show all posts
Showing posts with label Failed to add /run/systemd/ask-password to directory watch: No space left on device. Show all posts

Friday, June 15, 2018

Failed to add /run/systemd/ask-password to directory watch: No space left on device

Solution :


echo 1048576 > /proc/sys/fs/inotify/max_user_watches

The long-term fix is to edit the file /etc/sysctl.conf to include the line:

fs.inotify.max_user_watches=1048576
Reload Kernel.
sysctl -p
Reload settings from all system configuration files.

Type the following command to reload settings from config files without rebooting the box:

sysctl --system