100% disk usage in almost every day of this week

Hello, We need some help.

Almost every day in this week we needed to shutdown our servers because of writing usage. Is there any history for us to know what is impacting the disk?

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.

Hi @acionista,

Most probably it’s something related to your application. Have you managed to find the actual source of the disk usage? I’ll recommend you to try and find out what exactly is the cause.

Here are a few tips on how to pinpoint your troubles

Linux find a biggest files in /

sudo du -ha / | sort -n -r | head -n 20

It will show you top 20 of largest files in your /. Having said that, this command is quite heavy and it might take some time to execute.

Another good command to skip the directories and just search for big files is

find / -type f -printf "%s\t%p\n" | sort -n | tail -1

Another problem might be you are running out of inodes. You can check this with the following

df -i

If you are indeed running out of inodes, most probably your application is creating too much session files or temporary files which are never removed.

Regards, KDSys