E: Write error - write (28 No space left on device)
1:在终端中运行cd命令,提示:
|
e: Write error - write (28 No space left on device) E: Cant mmap an empty file |
2:使用 df -h 查看磁盘空间情况:
|
/dev/xvda1 20G 20G 0G 100% / |
3:继续查看大文件所在目录:#du --max-depth=1 -h /
|
4.0K /opt 9.6M /bin 408K /run 4.0K /srv 4.0K /lib64 0 /sys 9.0M /sbin 34M /boot 224K /home 4.0K /dev du: cannot access ‘/proc/31292/task/31292/fd/4’: No such file or directory du: cannot access ‘/proc/31292/task/31292/fdinfo/4’: No such file or directory du: cannot access ‘/proc/31292/fd/4’: No such file or directory du: cannot access ‘/proc/31292/fdinfo/4’: No such file or directory 0 /proc 284M /lib 80K /tmp 13G /root 4.0K /media 1.3G /mnt 1.2G /usr 16K /lost+found 5.2G /var 6.1M /etc 21G / |
可见 /root下面存在大文件,继续查看:#du --max-depth=1 -h /root
|
8.0K /root/.ssh 13G /root/.pm2 6.0M /root/.forever 17M /root/.npm 4.0K /root/.cache 13G /root |
可见,大文件在.pm2下面,进入此目录进行查看:pm2# ll
|
total 13326616 drwxr-xr-x 4 root root 4096 May 11 21:20 ./ drwx------ 7 root root 4096 Aug 22 08:35 ../ -rw-r--r-- 1 root root 1561 Jun 20 2015 conf.js -rw-r--r-- 1 root root 22557 Apr 19 00:28 dump.pm2 drwxr-xr-x 2 root root 4096 Apr 21 08:37 logs/ -rw-r--r-- 1 root root 2 Jun 20 2015 module_conf.json drwxr-xr-x 2 root root 4096 Aug 22 08:38 pids/ -rw-r--r-- 1 root root 13646360576 Aug 22 08:38 pm2.log -rw-r--r-- 1 root root 5 May 11 21:20 pm2.pid srwxr-xr-x 1 root root 0 May 11 21:20 pub.sock= srwxr-xr-x 1 root root 0 May 11 21:20 rpc.sock= |
发现pm2.log日志文件为13G,将其删除。
E: Write error - write (28 No space left on device)的更多相关文章
- mysql执行SQL语句时报错:[Err] 3 - Error writing file '/tmp/MYP0G1B8' (Errcode: 28 - No space left on device)
问题描述: 今天一同事在mysql中执行SQL语句的时候,报了/tmp空间不足的问题,报错如下: [SQL] SELECT f.prov as 字段1, MAX( CASE f.flag_name W ...
- Oracle案例06—— OGG-01098 Could not flush "./dirdat/e1000004383" (error 28, No space left on device)
一.前言 自从换了新环境,各种问题层出不穷,如果不是之前积累的经验丰富,估计都歇菜了,看来作为数据库全栈工程师(oracle/mysql/sqlserver/sap hana/pg/mongodb/r ...
- MySQL Crash Errcode: 28 - No space left on device
一台MySQL服务器突然Crash了,检查进程 ps -ef | grep -i mysql 发现mysqld进程已经没有了, 检查错误日志时发现MySQL确实Crash了.具体如下所示: 注意日志中 ...
- zabbix_server [22842]: cannot open log: cannot create semaphore set: [28] No space left on device
zabbix server服务没启动,查看日志显示 zabbix_server [22842]: cannot open log: cannot create semaphore set: [28] ...
- zabbix-agent报错:zabbix_agentd [5922]: cannot open log: cannot create semaphore set: [28] No space left on device
起因: 新添加完自定义监控项后重启zabbix-agent时失败,查看/var/log/zabbix/zabbix-agentd.log 发现系统提示zabbix共享内存报错 zabbix_agent ...
- 解决:IOError: [Errno 28] No space left on device(设备空间不足)
问题重现: 问题分析: 出现这样的问题,是磁盘空间不足,需要清理.卸载一下系统非必要软件和文件. 解决方案: 可以使用如下命令清理: #自动清理残余的依赖库 sudo apt-get autoremo ...
- linux 使用systemctl 启动服务报错: Error: No space left on device
By default, Linux only allocates 8192 watches for inotify, which is ridiculously low. And when it ru ...
- eBPF+Ftrace 合璧剑指:no space left on device?
本文地址:https://www.ebpf.top/post/no_space_left_on_devices 最近在生产环境中遇到了几次创建容器报错 "no space left on d ...
- gcc 错误:Fatal error error writing to tmp No space left on device
在使用gcc make时报错:Fatal error error writing to tmp No space left on device finiteVolume/ddtSchemes/Eule ...
随机推荐
- [Javascript] MetaProgramming: new.target
new.target is a new “magical” value available in all functions, thoughin normal functions it will al ...
- 磁盘性能指标--IOPS 理论
机械硬盘的连续读写性很好, 但随机读写性能很差.这是因为磁头移动至正确的磁道上需要时间,随机读写时,磁头不停的移动,时间都花在了磁头寻道上,所以性能不高. 如下图:在存储小文件(图片).OLTP数据 ...
- bitset使用
17.10使用序列1.2.3.5.8.13.21初始化一个bitset,将这些位置置位.对另一个bitset进行默认初始化,并编写一小段程序将其恰当的位置位. #include<iostream ...
- SecureCRT使用教程
Secure CRT是一款支持 SSH2.SSH1.Telnet.Telnet/SSH.Relogin.Serial.TAPI.RAW 等协议的终端仿真程序,最吸引我的是,SecureCRT 支持标签 ...
- css中判断IE版本的语句
css中判断IE版本的语句<!--[if gte IE 6]> Only IE 6/+ <![endif]-->: 1. <!--[if !IE]> 除IE外都可识 ...
- 锱铢必较,从(function(){}())与(function(){})()说起
今天做JsHint时,碰到一个警告:应该使用(function(){}())而不是(function(){})();看到这个我心想,这两种函数自执行有什么区别吗?自执行用了这么久,感觉对其理解仍然有点 ...
- U3D 精灵的点击监听
U3D游戏中,可能会用到点击对象,完成某项操作, 方法一:可以通过接收Input对象的输入,进行利用 方法二:给对象绑定一个collier 组件,然后就能后使用内置方法 这里有点不同,方法一,是不管哪 ...
- Spring入门Hello World
这里是关于Hello World的一些基本的操作 Spring 是一个重量级的容器框架,用来配置bean并维护bean之间的关系的框架 想要最初的使用Spring就要学会最基本的配置 <1> ...
- webrtc学习———记录三:mediaStreamTrack
参考: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack 转自http://c.tieba.baidu.com/p/3 ...
- Redis介绍
Redis的介绍 Remote Dictionary Server(Redis)是一个基于 key-value 键值对的持久化数据库存储系统.支持多种数据结构,包括 string (字符串).list ...