简体   繁体   English

AWS-EC2-实例空间不足

[英]AWS - EC2 - Instance running out of space

I am getting error that Instance running out of space. 我收到实例空间不足的错误。 My current instance type is t2.micro and size of the instance was 10GB before and I have increased it with 5GB and now its 15GB but still my root directory gets full and same error comes again. 我当前的实例类型是t2.micro,实例的大小以前是10GB,我将其增加了5GB,现在增加了15GB,但我的根目录仍然满了,并且再次出现相同的错误。 I have removed the logs file which consuming more space and there is no more backup files there also. 我已删除了占用更多空间的日志文件,并且那里也没有更多的备份文件。

I have attached the disk full screenshot for same. 我已经附上了相同的磁盘完整屏幕截图。

在此处输入图片说明

Thanks in advance. 提前致谢。 Thanks 谢谢

Sometimes, open files which have reference issues tend to cause disk space issues. 有时,具有参考问题的打开文件往往会导致磁盘空间问题。

Try the below command to find out the open files and check if they are present in the path, if not, you can kill the process 尝试使用以下命令找出打开的文件,并检查路径中是否存在这些文件,如果不存在,则可以终止该进程

Command: 命令:

sudo lsof | awk '{print $NF}'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM