• Resolved netizenconsultant

    (@netizenconsultant)


    Hi All,

    I am using WordPress for my site with 2.500.000 visitors per month. I used separate VPS (GCP) in the same region for WP & DB. This is my spec VPS that I used :

    WP
    – 6 Core CPU
    – 15 RAM

    DB
    – 4 Core CPU
    – 6 RAM

    My problem is, the average CPU usage is 30%, buth when our admin is login in WP Admin and update the content (Post or Page) the CPU usage spike into 100%. Sometimes even make our site got Error database connection.

    I tried to search in internet how to speed up WP but got no clue about WP admin problem. I have done this to tried to fix it but nothing works significant:
    – Using cache (WP Rockets)
    – Disable admin ajax
    – Add Heartbeat plugin
    – Optimized DB
    – Disable and remove unused plugin
    – Test Avada themes in other WP and working fine.

    Can you guys help me with this issue? Maybe I missed something? And how to calculate server needs in term of traffic?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello netizenconsultant,

    There may be some plugins that you have installed on the WordPress that is causing the high consumption.

    Typically what I recommend, to help find these troublesome plugins, is to install a plugin profiler, such as P3 Profiler. This can be used to view the resource usage of the plugins and find the ones that might be causing the problem.

    Configure WP Disable. WP Disable(Plugins) turns off unused WordPress settings that consume CPU like post revisions, autosaves, pingbacks, trackbacks, emojis, and others. It also has other speed options like loading Google fonts asynchronously, heartbeat control and hosting Google Analytics on a local server.

    Lastly, You may need to consider a dedicated server if the current resources are being overly consumed by the site, even after optimization. Dedicated Servers will typically out perform a VPS, as the resources are all physical and not virtualized.

    Hope this information helps.

    Thanks.

    Hello netizenconsultant,

    Your website has got pretty decent traffic which means it will always be busy serving a lot of content. According to me, you are getting 30% of CPU utilization as you are using cache plugin and static contents are served from Cache but when you log in as an Admin, WordPress has to work on generating new content each time. Can you please confirm if you are using Object Cache. As you are using a VPS server. You should use Object Caching software like Redis. It works on the server level and caches your database request.
    I also recommend you to use CDN like Cloudflare which will reduce the burden of serving static files from your server.
    You should also check if you are not using any resource hungry plugin.
    Hope this information helps you.

    • This reply was modified 6 years, 3 months ago by Shashi Kumar.
    Thread Starter netizenconsultant

    (@netizenconsultant)

    @kartiks16
    Thanks for the suggestion! I tried P3 profiller but the result was changed everytime. There is no specific plugins that always slow down my web.

    @mastershas
    Thanks for the suggestion! The Redis, should I install it in WP server or DB server? Because the high CPU usage is the WP server. The DB was fine.
    For CDN, is there any recommended CDN beside cloudflare? I user Google Cloud DNS so I cant use Cloudflare.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress Admin Consume much CPU’ is closed to new replies.