• Resolved sambo613

    (@sambo613)


    We are experiencing high CPU usage on our website server and it appears to be from the Popular Posts plugin (see screenshot). What is causing this and how can we fix it?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hey @sambo613,

    The /wp-json/wordpress-popular-posts/v2/widget request is reading from your database to pull your popular posts data and render them on the front-end.

    Database read operations are usually fast unless there’s a problem with the database itself, for example:

    • Database tables needing optimization (data fragmentation, storage, etc)
    • Large database tables (in WPP’s case there’s a Performance wiki section that talks about this, I highly recommend giving it a read)
    • Lack of proper caching mechanisms (eg. Redis, Memcached, etc.), specially with large / high-traffic sites
    • Presence of other resource-intensive scripts / processes on your server that are having a direct impact on your site’s REST API endpoints

    And the list goes on.

    It might be a good idea to do a full site review to find all potential bottlenecks and optimize as much as possible.

    Thread Starter sambo613

    (@sambo613)

    Thank you. I’ve disabled the plugin in the meantime because it has crashed our site. Could I reach out to you to discuss further?

    Plugin Author Hector Cabrera

    (@hcabrera)

    Sure, feel free to use my contact form to reach out to me. I usually prefer public interactions though because it often helps future readers debug their own issues as well so please keep that in mind.

    • This reply was modified 11 months, 2 weeks ago by Hector Cabrera. Reason: Added link to contact form
    Plugin Author Hector Cabrera

    (@hcabrera)

    Got your message. Reply sent.

    Plugin Author Hector Cabrera

    (@hcabrera)

    OP reported via email that the issue was being caused by a third-party plugin and so I’m marking this topic as resolved for now.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘High CPU usage from plugin’ is closed to new replies.