(1)Linux使用tab补全时提示 bash: cannot create temp file for here-document: No space left on device
(2)编辑定时任务 设置crontab -e时候,也报错No space left on device

主要是因为我之前把定时任务程序扔后台运行,发现会产生很多日志数据,就要删掉用用程序文件,其实因为此应用程序正在后台运行,所以并没有真正的删掉
此时输入:lsof / |grep deleted
来显示没有删掉的应用程序线程,他们的后面都带有【deleted】
然后:kill -9 线程PID
来杀死这些占用空间的线程,然后试一试
df -h
crontab -e
看看是不是好了,反正我的是好了啦~

GitHub 加速计划 / li / linux-dash
10
2
下载
A beautiful web dashboard for Linux
最近提交(Master分支:27 天前 )
186a802e added ecosystem file for PM2 5 年前
5def40a3 Add host customization support for the NodeJS version 5 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐