Question

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

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.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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:

  1. 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

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.