首页 > 系统服务 > 详细

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

时间:2018-04-14 13:24:40      阅读:992      评论:0      收藏:0      [点我收藏+]

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

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

原文:https://www.cnblogs.com/mhc-fly/p/8831205.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!