Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Wordpress site error 504 and out of memory error and 100% cpu spike
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
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.×