Question

disk usage full. but I do not know why my usage is full.

Posted January 11, 2018 1.8k views
Ubuntu 16.04Storage

My usage is 30GB, and I use WordPress 5GB.

However, since WordPress does not upload the file, I can access console access and check it using “du -sh / *” command.

The / var directory occupies 28 GB. What is the problem?

I have never uploaded a large file using ftp.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
2 answers

run command du -sh /var/*, then run same command on biggest dir du -sh /var/run/biggest_dir/*, and so on until you find problem.

Hello, all

You can examine the disk space usage and delete any data which is not crucial to your application or website. What is the output of the following command:

  • df -h

Also, I could suggest following the steps from this answer here on how to find the folders that are using the most disk space:

https://www.digitalocean.com/community/questions/28-no-space-left-on-device-error

The other option will be to resize the droplet. You can check this article on how to resize your droplet:

https://docs.digitalocean.com/products/droplets/how-to/resize/

Regards,
Alex