By semipro
I’m relatively new to using digital ocean and VPS hosting in general. I recently used the “how to debug Wordpress” tutorial and based on the results, I’m running out of memory.
I don’t see how that’s possible. It’s a single page website with no traffic. The server has 1g of memory and 30gb of disk space. Furthermore, I have multiple websites running on the 5$ version of DigitalOcean that don’t run into this issue even though they have many pages and receive some traffic.
Is there any way for me to see what’s eating up all my memory?
Also, I followed the instruction on how to turn off XML-RPC so that won’t be the cause.
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!
Hey, everyone, I’m back. So basically I’m still ocasionally running into the same problem. I have five different digital ocean servers. Three of them run perfectly fine on $5 servers with more traffic and web pages. There’s absolutely no reason this $10 server should be running out of memory.
I’ve been routinely monitoring htop and at no point does my memory reach the upper limits. However, for some reason, my error log is showing my server as running out of memory.
I even went so far as to make a snapshot of my data and create a new droplet, put that snapshot on a new server. This hasn’t made things any better.
It has to be one of my plugins or somehow my database is messed up. I’m considering making a new droplet and recreating my website from the ground up. It’s only a few pages so it won’t take too long. However, I don’t want to have to resort to this.
Watching htop has been helpful. Occasionally I will see spikes in memory and CPU usage to 100%. Unfortunately, I have no idea what I’m looking at or should be looking for.
Hi @semipro
Try installing htop which gives you detailed information about all processes real-time:
sudo apt install htop
Is the site on the $10 using the same theme and plugins as the $5 sites? A single heavy or badly coded theme/plugin can even make a $80 droplet go to a crawl.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.