• Hello,

    I am experiencing issues with CPU usage on the server my website is connected to.

    I only use your plugin on my website with the WP Job Manager plugin.

    Despite this, your plugin has very low usage among users on my website. In other words, there isn't a lot of messaging activity.

    Additionally, my website has comprehensive optimization. Your plugin only actively works in specific areas across the website. It is not active in every area.

    My problem is as follows:

    As I mentioned above, there is excessive CPU usage on the server, and it appears that your plugin is the main cause of this.

    The message from the server company is as follows:

    I would like to point out that the https*** is the only one that is restricted, and all other sites are publicly accessible. Additionally, it is important to note that since January, there have been 6 other incidents, all related to CPU usage of your sites, so this is not an isolated incident.

    I checked all requests made to your website on the 12th of September, and noticed 10265 calls to the REST-API endpoint used by Better Messages:

    The error logs are also as follows:

    /wp-json/better-messages/v1/checkNew?nocache=1757705571490
    /wp-json/better-messages/v1/checkNew?nocache=1757705566465
    /wp-json/better-messages/v1/checkNew?nocache=1757705557488
    /wp-json/better-messages/v1/checkNew?nocache=1757705552423
    /wp-json/better-messages/v1/checkNew?nocache=1757705543488
    /wp-json/better-messages/v1/checkNew?nocache=1757705538476
    /wp-json/better-messages/v1/checkNew?nocache=1757705529488
    /wp-json/better-messages/v1/checkNew?nocache=1757705523444
    /wp-json/better-messages/v1/checkNew?nocache=1757705515487
    /wp-json/better-messages/v1/checkNew?nocache=1757705508423
    /wp-json/better-messages/v1/checkNew?nocache=1757705501488
    /wp-json/better-messages/v1/checkNew?nocache=1757705494432
    /wp-json/better-messages/v1/checkNew?nocache=1757705487486
    /wp-json/better-messages/v1/checkNew?nocache=1757705480413
    /wp-json/better-messages/v1/checkNew?nocache=1757705473486
    /wp-json/better-messages/v1/checkNew?nocache=1757705466412
    /wp-json/better-messages/v1/checkNew?nocache=1757705459486

    What measures can I take to prevent this issue? Or is there any adjustment you could make regarding this?
Viewing 1 replies (of 1 total)
  • Plugin Support Andrij Tkachenko

    (@andrijtkachenko)

    Hi there!

    Those requests are needed to check new messages and other acitivity in realtime.

    You can reduce number of requests by increasing Site Refresh Interval and Conversation Refresh Interval in plugin settings or you can upgrade the plugin to WebSocket Version to minimize that requests as much as possible.

    There is nothing else I can suggest on this matter.

    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘excessive CPU usage’ is closed to new replies.