Activity Stream
48,167 MEMBERS
62284 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1.     
    #1
    Member
    Website's:
    bypassx.com

    Default High CPU usage on my wordpress blog

    I have a wordpress blog, i moved to a VPS (2cpu, 1,5Gb ram) but processes mysql and php have a high cpu usage. I?m using cPanel/WHM.
    Anyone knows how to tune up my config to save some cpu?

    Thanks.
    Zeokat Reviewed by Zeokat on . High CPU usage on my wordpress blog I have a wordpress blog, i moved to a VPS (2cpu, 1,5Gb ram) but processes mysql and php have a high cpu usage. I?m using cPanel/WHM. Anyone knows how to tune up my config to save some cpu? Thanks. Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    What plug-ins have you got ?

    Disable unneeded plug-ins

    Install w3 total cache for caching and minify
    Signature too big, removed by staff.

  4.     
    #3
    Member
    Website's:
    bypassx.com
    Not question of my wordpress setup, i have same wordpress config at another VPS with less resources and cpu load was lower (average 0.60, now the average is 1.15) so something into the server is not properly optimized.

    I?m using w3 total cache and cloudflare. The porblem is from server/cPanel side not from wordpress configuration.

  5.     
    #4
    Member
    Is it a managed vps or unmanaged do you have ssh access if so login and just do

    Code: 
    top
    this shows live system processes in a nice table, memory information then you can see what is actually causing the high cpu usage and take it from their
    Signature too big, removed by staff.

  6.     
    #5
    Member
    Website's:
    bypassx.com
    Well shasow.prx, i?m already using top, thats why i noticed the high cpu load.
    top - 19:52:02 up 19:46, 1 user, load average: 2.03, 1.95, 1.62

    And processes that uses all cpu are: mysql and php as i said in my FIRST post.

    My service is managed, but the people who manage them are .... well....

  7.     
    #6
    Member
    if possible disable all plugins and then reactivate one by one and check the cpu usage..

    because some plugins(especiallly backup plugins may hang in cron)

  8.     
    #7
    Member
    Website's:
    bypassx.com
    Currently 115 users online:
    top - 20:21:43 up 20:15, 1 user, load average: 0.72, 0.85, 0.99
    Used mysqltunner perl script and followed instructions and deactivated plugin "postviews", and cpu load decreased. I go to activate plugin "postviews" again and will see what happens.

    ---------- Post added at 07:40 PM ---------- Previous post was at 06:32 PM ----------

    After read here and there.... http://boomshadow.net/tech/php-handlers/

    I enabled php handler FastCGI and seems that cpu load decreases a little (ram usage increase arround 60MB, affordable).

    Load Averages: 0.86 0.71 0.81

    After one hour:
    Load Averages: 0.53 0.61 0.63

    I think that now all is normal

  9.     
    #8
    Member
    Website's:
    imdber.org justpaste.me
    You might also like to disable gzip if you're not conserving bandwidth.

  10.     
    #9
    Member
    Website's:
    bypassx.com
    Quote Originally Posted by Apathetic View Post
    You might also like to disable gzip if you're not conserving bandwidth.
    You can be correct, perhaps Gzip uses many cpu of my site, but the page size is decreased 80%, too much sacrifice disable Gzip at the moment.

    Another thing that should help to keep cpu load lower is disable wp-cron that executes constantly, is a better option add a cronjob. Found a well explained tutorial here: http://wpdailybits.com/blog/replace-...al-cron-job/74


    Finally i know what increase my mysql cpu usage, was plugin post-ratings, i disabled it and cpu load lowered a lot.

    Sadly my traffic increase more and now the cpu usage is mostly by PHP (fastCGI), i?m researching how to reduce the php cpu usage.... but not seems easy.

  11.     
    #10
    Member
    Website's:
    imdber.org justpaste.me
    Try using a caching tool, like APC and Varnish.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [HELP] High memory usage on the server
    By damnyou in forum Technical Help Desk Support
    Replies: 9
    Last Post: 16th Mar 2012, 09:00 PM
  2. High CPU Usage on VPS
    By LuDo8 in forum Server Management
    Replies: 21
    Last Post: 29th Jan 2012, 11:21 AM
  3. [Hiring] server Administrator, high cpu usage
    By thesnake in forum Completed Transactions
    Replies: 4
    Last Post: 17th Sep 2011, 04:55 PM
  4. [Wordpress, Shared Hosting] New Site, High Resource Usage...
    By Rocke in forum Technical Help Desk Support
    Replies: 3
    Last Post: 13th Dec 2010, 06:59 AM
  5. high memory usage help
    By accyuklad in forum Hosting Discussion
    Replies: 5
    Last Post: 6th Jul 2010, 04:45 PM

Tags for this Thread

BE SOCIAL