I have a 4GB 2 CPU droplet that has both MySQL and Wordpress/Woocommerce installed which seems to work fine as an eCommerce platform. However, when ever I try to edit multiple products using various plugins it tends to max out on the processors but not Ram. I get an error in chrome that the page isnt working?I have wordpress set to 1.5GB ram and the same in PHP.ini
I was thinking of moving the DB to a separate droplet or DB cluster but have noticed that the DB clusters are $15 a month for the smallest and the droplets are $5 a month for the smallest. What is the difference? Why cant i just install mysql on a new cheap droplet and point wordpress at it? Why would the MYSQL cluster cost more?
Any ideas what I can do about processors maxing out? And the dreaded “page not working” issue.
What is the best Wordpress/woocommerce settings in php.ini and wordpress.config file/mysql settings?
Thanks
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!
Hello, @albertramsbottom
Could you please double check if all of your plugins are fully updated to their latest version? It’s not unusual that there might be a faulty plugin that can cause a massive memory exhaustion. What I can recommend you is to monitor the server performance using top or htop while you’re editing your products so you can see what’s going on in real time.
Let me know how it goes.
Regards, Alex
Hello, @albertramsbottom
Could you please confirm which is the exact process that is consuming the processors when you’re working on your site? Is it a php process like cgi or fpm?
You can also use a command like this one to show the processes memory in megabytes and the process path, but generally htop and top are my favorites.
ps aux | awk '{print $6/1024 " MB\t\t" $11}' | sort -n
Let me know how it goes.
Regards, Alex
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.