systemctl启动服务空间不足的问题
作者:admin 来源:原创 2024/4/10 10:00:06

一、问题

    使用树莓派重启服务时提示服务空间不足。

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

二、临时解决

echo 1048576 > /proc/sys/fs/inotify/max_user_watches
三、永久解决

编辑配置文件

vim /etc/sysctl.conf
追加内容

fs.inotify.max_user_watches=1048576

称      呼:
联系方式:
您的评论:
技术支持:l.w.dong@qq.com www.luweidong.cn
广州市   wx:lwdred
Copyright © 2014 三味书屋 All Rights Reserved
技术支持:l.w.dong@qq.com  sitemap xml  sitemap html

粤公网安备44010602011869号

粤ICP备13031080号-1