Error: No space left on device

Linux系统
114
linux
linux 举报
05月22日 14:29
linux 使用systemctl 启动服务报错: Error: No space left on device

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


倒序看帖 只看楼主
推广信息