• Resolved gcracker

    (@gcracker)


    I couldn’t find a developer email, so I guess I have to post this in the forum.

    We have fifteen or twenty websites. below is a screenshot of our top daily processes.

    The sites with the highest CPU usage for (admin-ajax.php) have hardly any traffic at all. After a month I tracked down the cause as the ManageWP Worker plugin. Disabling the plugin on any process intensive site caused the problem to go away, and the high CPU usage to stop.

    The logs show that any request made by anyone will sometimes include a request to admin-ajax.php or edit.php. Often dozens per second.

    I had several screenshots prepared, but apparently you can’t post screenshots on here.

    I’ve narrowed it down to two possibilities.
    1. The plugin is hacked.
    2. The plugin is incompatible with another plugin.

    Here are the other plugins on the affected sites.

    ACF
    Gravity Forms
    Wordfence Security
    Gravity Forms Mailchimp add-on
    Duplicate Post

    The only other plugin appearing consistently throughout all affected sites is Wordfence. Disabling Wordfence did not fix the CPU usage problem.

    I’ve run malware scans on all sites and nothing turned up.
    Nothing in the wordpress error log either.

    Let me re-summarize. Our least-used websites with managewp worker show 99% of CPU usage in the daily process log. Disabling managewp worker caused them to have normal CPU usage 0-2%.

    Compounding the issue is that some of our sites running managewp worker do not have this problem.

    Here is the top process on our server. A site that has maybe 100 visitors a day. Meanwhile we have sites with thousands of daily visitors that take up 8% of the daily CPU.

    *************.net 98.0% CPU
    process: /usr/bin/php /home/pricecou/public_html/priceco/wp-admin/admin-ajax.php

    https://wordpress.org/plugins/worker/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    This is Nemanja from ManageWP.

    The list of the plugins is fairly common (I personally use 4 out of 5 on my websites), so I believe the plugin conflict is not the case. If the Worker hasn’t been tampered (WordFence would have flagged the change), I suspect that the issue might be traced to the server configuration. Is there a pattern regarding the site servers?

    Please get in touch with us at st@managewp.com or open a support ticket from your ManageWP dashboard, so our developers could investigate this.

    Don’t worry, we’ll get to the bottom of this.

    Nemanja

    Thread Starter gcracker

    (@gcracker)

    Thanks. I’m going to go ahead and delete this post.

    Thread Starter gcracker

    (@gcracker)

    Actually I can’t delete the post.

    Could you delete the post?

    I don’t want to bring unnecessary concern to the plugin over an issue that isn’t even verified yet.

    Thanks

    No worries, we will mark it as resolved since the threads cannot be deleted.

    I’ll also paste the email you’ve sent us just in case someone else gets a similar issue and wants to know the reason:

    Regarding the CPU consumption post of managewp worker,

    I found out just now it’s caused by Wordfence live traffic logging being enabled by default on all sites.

    It made it appear that wp worker was the cause, however, but it is not.

    Thanks and my apologies for the false positive

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘ManageWP worker using 99% of CPU on some sites.’ is closed to new replies.