Wordpress installation on digitalocean eating the server storage

I run a wordpress installation on digitalocean vps. the server desk space is 80gb, but only 11gb left. here is the space used by wordpress:

WordPress directory size 46.12 MB

Uploads directory size 1.58 GB

Themes directory size 49.79 MB

Plugins directory size 77.86 MB

Database size 212.83 MB

Total installation size 1.95 GB

what happened to the rest of the desk space? i run on Apache/2.4.29 (Ubuntu)

Submit an answer
Answer a question...

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.

Site Moderator
Site Moderator badge
November 30, 2022

Hello there,

You can also look into loading WordPress content from an external droplet/server or have the static content minimized to what the actual site is using, e.g do not keep other images, or files as backups as this will consume the available disk space.


Site Moderator
Site Moderator badge
March 4, 2022

Hi @Nour,

The other disk space that’s taken is not directly in your Website’s folder. It could be mails, logs, some dump files indicated more errors and so on.

The best way is to check here for pointers:

Additionally, what I use in situations like this is some useful find commands:

  • Finds you to 10 biggest files - find /-type f -printf "%s\t%p\n" | sort -n | tail -n 10. You can easily find the 50 biggest files by changing the number 10 to 50 at the end of the command
  • Find files bigger than a certain amount of MBs sudo find / -type f -size +500M -exec ls -lh {} \; In the example it’s above 500M but again you can easily change it to whatever you like
Bobby Iliev
Site Moderator
Site Moderator badge
March 3, 2022


What I could suggest is following the steps from the answer here on how to find the largest directory or file that is consuming most of your disk space:

It is possible that your MySQL database has grown a lot too.

Feel free to share the output of the commands listed in the answer above.