Defender "server resource usage is too close to your limit."


I am getting the “server resources usage is too close to your limit” error when running a scan. I found this thread

& added the mu plugin, but it has not solved the problem.

I have granted support access.

Thanks for your help!


  • Nastia
    • Support Rock Star

    Hello there Debbie

    Would you please add the following code to the functions.php file of your theme?

    add_filter( 'wd_limit_cpu', 'wd_limit_cpu' );
    function wd_limit_cpu() {
    return 7;

    Then clear the cache and try again.

    Also, please make sure that you deleted the code that you have added to the mu-plugins folder from the previous thread. From the previous code, the value 1, is not suitable for your site because the CPU usage is higher than 5.

    Let us know how it went!

    Kind regards,


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.