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

Posted 会飞の鱼

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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



以上是关于linux 使用systemctl 启动服务报错: Error: No space left on device的主要内容,如果未能解决你的问题,请参考以下文章

Docker容器systemctl启动服务报错Failed to get D-Bus connection: Operation not permitted

Linux基于CentOS通过Systemctl 设置开机启动/永久性关闭服务

Linux中 service 和 systemctl 命令比较

linux操作systemctl

linux学习-centos7上的服务管理systemclt等

Linux中用systemctl命令管理服务