Wordpress site high cpu usage

MediaStar

Active Member
2,674
2010
446
515
Hello all, i need help here.

My site using CPU up to 2xxx%, right now i need to enable CF under attack mode and cpu usage down to 20%~30% only.

Spec:
-AMD Ryzen Threadripper 2950X
-8x RAM 16384 MB DDR4
-Litespeed Enterprise

Also already disabled all plugin, still same.

image.png


After enable under attack mode:
image.png


Not sure this is because of database problem or attack?

screenshot-dash-cloudflare-com-2024-12-30-10-46-27.png


Anyone know how to fix these?
 
23 comments
well if you use dooplay disable ajax in theme options, renaming admin-ajax.php is temp solution when you are under attack,
Like this?
image.png

After renaming admin-ajax.php i cannot clear cache and transient.
Post automatically merged:

Updated...

I enable managed challenge under WAF for some country which is looks suspicious access to admin-ajax.php, seem like cpu turn into normal. But the problem now some of my subdomain not working, how to exclude subdomain from managed challenge?
 
Last edited:
Check your server logs for any unusual traffic patterns or spikes, and optimize your database queries (try a plugin like Query Monitor). If it's an attack, enabling a WAF or stricter rate limiting in Cloudflare could help.
 
Back
Top