Ive recently migrated my wordpress site to a new ubuntu 20.04 droplet. Im using nginx + mysql and using cloudflare as a cdn. I keep getting 504 errors from cloudflare and when i log in to the console there is a string of out of memory errors for mysql. The Digital ocean dashboard shows 100% cpu usage but after waiting for a few minutes or rebooting the server the issue stops. Is there a way for me to check what is using up all the memory / cpu ? This seems to happen mainly when i login and change something in wp-admin like updating a post, page or a product but that’s not always the case.
Any help would be greatly appreciated.
My site is www.themusicvault.co.uk
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!