Question

Issues with processors maxing out and page isnt working errors in chrome

Posted January 31, 2020 221 views
WordPressUbuntu 18.04

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

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.

×
2 answers

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

Submit an Answer