linux 使用systemctl 启动服务报错: Error: No space left on device

2023-11-20

By default, Linux only allocates 8192 watches for inotify, which is ridiculously low. And when it runs out, the error is also No space left on device, which may be confusing if you aren't explicitly looking for this issue.

 

 vi /etc/sysctl.conf  增加  fs.inotify.max_user_watches = 262144

 

# sysctl -p
fs.file-max = 1020000
fs.inotify.max_user_watches = 262144

 

systemctl daemon-reload

转载于:https://www.cnblogs.com/mhc-fly/p/8831205.html

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

linux 使用systemctl 启动服务报错: Error: No space left on device 的相关文章

随机推荐