今天运行了一下privoxy,蹦出来了:Failed to add /run/systemd/ask-password to directory watch: No space left on device
df查了一下磁盘空间,完全够用,找了一下解决方法,做个记录
sudo -i
echo 1048576 > /proc/sys/fs/inotify/max_user_watches
exit
sudo vim /etc/sysctl.conf
在sysctl.conf中加入:
fs.inotify.max_user_watches=1048576
参考:https://askubuntu.com/questions/828779/failed-to-add-run-systemd-ask-password-to-directory-watch-no-space-left-on-dev
原文链接:https://blog.csdn.net/weixin_44649870/article/details/88688972