Facing High RAM usage when i connect it to domain

Posted June 24, 2021 122 views

Hello everyone, my WordPress website crashes, gets high ram alert and CPU usages once i connect it to my “”

But if use “” the site runs completely fine.
Its not DDoS cause i used Cloudflare 5 sec JavaScript challenge with i am under attack it still faces Database crash or downtimes.

NOTE: No application or plugin error too as both Subdomain and Domain sites are exact clone

Can someone please guide me with this urgently

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.

Submit an Answer
1 answer

Hi there,

I could suggest checking a few things:

  • Check what services / processes are consuming most of the resources:

  • Then check your access logs and see what requests are being made. You can do that by following the steps here:

If the traffic is legitimate but it is just too much, I could suggest adding some more extra resources to your server to increase the reliability

  • Remove any plugins and themes that you do not really need to reduce the unnecessary load on the server.

  • Follow the steps from this tutorial here on how to optimize your WordPress installation:


by Lyn Muldrow
Optimizing Wordpress installations on the cloud gives the clients and individuals your sites interact with the performance, speed, and flexibility they’ve come to expect with WordPress. In this tutorial, you’ll gain tips on how to optimize WordPress installations in a way that’s built for scale, including guidance on configuration, speed, and overall performance.