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

January 11, 2018 1k views
Ubuntu 16.04 Storage

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.

1 Answer

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.

Have another answer? Share your knowledge.