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)
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!
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.
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.
https://www.digitalocean.com/community/tutorials/how-to-store-wordpress-assets-on-digitalocean-spaces
Regards
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:
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 commandsudo 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 likeHello,
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:
https://www.digitalocean.com/community/questions/28-no-space-left-on-device-error
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.
Best,
Bobby