0

I need help with my Alibaba Cloud Elastic Compute Service!

screenshot of df -h

screenshot of iotop -a

My storage was only 40GB and I used 33GB, on the next day it became fully consumed. The usage was at 40GB even though I had not uploaded any files.

I decided to increase my storage to 60GB, but 3 days later it has become fully consumed again.

I badly need help.

Thank you.

Jin
  • 9
  • 4
  • So.. *what* is using the space? Knowing *where* the usage is will be a useful start.. – user2864740 Jan 17 '20 at 07:03
  • I was confused what is happening. Because Alibaba ECS is increased automatically when it has a free space. – Jin Jan 20 '20 at 03:08
  • My Laravel size is only 12.0GB, and the Alibaba ECS is 60GB. How it totally consumed by 12.0GB. – Jin Jan 20 '20 at 03:09

1 Answers1

0

Free up some space and install iotop. Using iotop -a you can leave it running for a while and check back to find which processes are consuming your disk.

  • I can't install it because it says "You don't have enough free space in /var/cache/apt/archives/" – Jin Jan 17 '20 at 03:00
  • `/var` must be out of space, you will need to free some up. Check `du -cha /var/tmp/` maybe there is some space to be had. – Yevhen Stasiv Jan 17 '20 at 03:09
  • It says 4.0k Total. – Jin Jan 17 '20 at 03:12
  • That's nothing, check the same way in `/var/log/` maybe something is flooding your logs – Yevhen Stasiv Jan 17 '20 at 03:18
  • I got 1.2GB Total. Is't okay to delete this? – Jin Jan 17 '20 at 03:20
  • Any specific logs that are much larger than the others? – Yevhen Stasiv Jan 17 '20 at 03:21
  • It has 6 of 89M "/var/log/journal/2989f5b21b69559532cbb72e5d0b41b7/system@000000000000000" – Jin Jan 17 '20 at 03:26
  • Can you post the output of `df -h` into the question? Also remove one of the older log files so you can install iotiop, 89M should be enough. – Yevhen Stasiv Jan 17 '20 at 03:58
  • Looking at the iotop screencap it seems to be `php artisan` and `mysqld` eating up the space. Look into whatever you have got running on those services and examine their logs. – Yevhen Stasiv Jan 17 '20 at 07:22
  • Is that really the cause? Because my laravel size is only 12GB. – Jin Jan 20 '20 at 03:38
  • In your screencap iotop shows those processes as having written the most to disk. I can't say with no visibility if it's really the cause, but they are definitely leading in disk writes. I'd start by investigating their data dirs and seeing if they are growing/grew rapidly. – Yevhen Stasiv Jan 20 '20 at 07:55