• [Topic line moderated]

    HI
    sorry for my bad English.
    I use wordpress about 6 month .

    MY problem is high usage CPU of host …

    I read meany topice about this problem . but no one of them help me :

    I explane my site :

    I use now:
    wordpress 3.5.1 .
    CloudFlare
    I use just 4 active plugin :
    1. Captcha
    2. CloudFlare
    3. W3 Total Cache
    4. WP-HTML-Compressio

    W3 Total Cache in source of my site say this :

    Minified using disk: basic
    Page Caching using disk: enhanced (User is logged in)
    Database Caching using disk: basic (user is logged in)
    Object Caching 1332/1339 objects using disk: basic

    I have 259 posts and 2114 tags and 9000 commands

    MY prmlinke is:
    /%year%/%monthnum%/%day%/%postname%/

    MY sql database is InnoDB tape and have 11B size

    and this is my summry :
    Table Action Rows Type Collation Size Overhead
    aw_commentmeta 45 InnoDB utf8_general_ci 48 KiB –
    aw_comments 9,019 InnoDB utf8_general_ci 4.8 MiB –
    aw_links 1 InnoDB utf8_general_ci 32 KiB –
    aw_options 195 InnoDB utf8_general_ci 304 KiB –
    aw_postmeta 919 InnoDB utf8_general_ci 224 KiB –
    aw_posts 401 InnoDB utf8_general_ci 4.7 MiB –
    aw_term 2,142 InnoDB utf8_general_ci 976 KiB –
    aw_term_relationships 2,150 InnoDB utf8_general_ci 352 KiB aw_usermeta 29 InnoDB utf8_general_ci 48 KiB –
    aw_users 1 InnoDB utf8_general_ci 48 KiB
    11 tables 18,069 MyISAM latin1_swedish_ci11.8 MiB 0 B

    I have about 200-500 unique visitors and max 5000 Page views pre day.

    I use zenon theme :
    https://www.towfiqi.com/zenon-lite-free-wordpress-theme.html

    and no use any popular & related post widgets .

    this is my resorce usage of 24 hours and 7 day of my site :
    24 hours:
    https://imageupload.co.uk/files/8yhfrmnio00zm4qafvce.png

    7day :
    https://www.imageupload.co.uk/files/cc2cwwooqetho8y4eh39.png

    also I move all of upload folder from an other host means I buy another host and all of my photos load from it that my sub domain park on that host .

    All of base size of my site is about 30 MB .
    and subdoman in other host that my photo is stor in it is about 100 MB .

    I really don’t know why my CPU use alwase MAX.

    also my robot.txt is this:

    User-agent: *
    Disallow: /wp-admin/
    Disallow: /wp-includes/
    Disallow: /feed
    Disallow: /feed/
    Disallow: /*/feed/
    Disallow: /comments/feed
    Disallow: /feed/$
    Disallow: /*/feed/$
    Disallow: /*/feed/rss/$
    Disallow: /1/
    Sitemap: https://www.***/sitemap.xml
    Sitemap: https://www.***/sitemap.xml.gz

    also I disable wp-cron.php from wp-config.php whit thiscod:

    define(‘DISABLE_WP_CRON’, true);

    and ru corn from cpanel cornjob evry 2 hours whit this command:

    php -q /home/onlineir/public_html/wp-cron.php

    also i check my site in https://gtmetrix.com/ and this is result :
    Page Speed Grade:
    A(97%)
    BYSlow Grade:
    B(89%)
    Page load time: 1.62s
    Total page size: 242KB
    Total number of requests: 24

    ————————————-

    I realy read all post about cpu load . but I don’t Know why my blog use more CPU.

    Pleas help ma ……………..

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter SOS – 2013

    (@sos-2013)

    NO ONE KNOW ….

    I think and sure meny one have the same problem . I do all see should do … but no thing help me .

    Maybe wordpress not good and we should use other CMS. but no thing have same search engine friendly like wordpress.

    also I deactive all plugin and default theme …

    I use 6 post per page too.

    Please guide me

    Thread Starter SOS – 2013

    (@sos-2013)

    All post about CPU usage are out of date…

    Why wordpress use this more resource ?

    Do you really need to use InnoDB? If so, you need to fine tune it order to get the best results, for example innodb_buffer_pool_size. In many cases, you should be fine with just MyISAM, though.

    Have you tried disabling one plugin at a time?

    Also, it may be your web host. If you can try your installation on another one, I would do that in order to rule that out.

    Cheers!

    Which company are you hosting your website ? Are u sure it is Linux hosting .

    Thread Starter SOS – 2013

    (@sos-2013)

    Do you really need to use InnoDB? If so, you need to fine tune it order to get the best results, for example innodb_buffer_pool_size. In many cases, you should be fine with just MyISAM, though.

    I instal new wordpress 3.5.1 and export/import all post too . so my PHP is new version and defult it make InnoDB table .

    so IF you think maybe it help me to use MyISAM . how can I do convert it ?

    InnoDB table never can be optimized or repayer and none of dboptimiser plugin can do it also from myphpadmin.

    yes I desable all plugin

    some month age my firt host suspend me and say I shuld move my bloge becaus of cpu usage. in my new host also hve this problem.

    Which company are you hosting your website ? Are u sure it is Linux hosting .

    this i my host :
    cPanel Version 11.34.1 (build 7)
    Apache version 2.2.23
    PHP version 5.3.20
    MySQL version 5.1.66-cll
    Architecture x86_64
    Operating system linux

    Anonymous User 7265597

    (@anonymized-7265597)

    the question was who is your host? not the specs offered

    most shared hosts only allow a maximum of 25% of the CPU for your website.
    it’s possible to exceed this with a number of concurrent visitors.

    you could move to a dedicated server so you get 100% of CPU.

    Thread Starter SOS – 2013

    (@sos-2013)

    at right now :
    https://www.redstation.com/

    I deside to move to :
    Hetzner Online AG
    https://www.hetzner.de

    but I don’t think some thing change…

    I thing there is something wrong about wordpress ? maybe Bots ?

    I thing number of bots is so more ?

    the cloud say this report for 7 days :

    51,283 Page views
    18,159 regular traffic
    15,455 crawlers/bots
    17,669 threats

    4,563 unique visitors
    419 unique crawlers
    238 unique threats

    just google and bing bot visit :

    PAGES CRAWLED
    google : 13899
    bing: 13527

    Thread Starter SOS – 2013

    (@sos-2013)

    also i change robots.txt :

    User-agent: Googlebot
    Disallow: /wp-admin/
    Disallow: /wp-includes/
    Disallow: /feed
    Disallow: /feed/
    Disallow: /*/feed/
    Disallow: /comments/feed
    Disallow: /feed/$
    Disallow: /*/feed/$
    Disallow: /*/feed/rss/$
    Disallow: /cgi-bin
    Disallow: /wp-admin
    Disallow: /wp-includes
    Disallow: /wp-content/plugins
    Disallow: /wp-content/cache
    Disallow: /wp-content/themes
    Disallow: /trackback
    
    User-agent: Googlebot-Image
    Disallow: /wp-admin/
    Disallow: /wp-includes/
    Disallow: /feed
    Disallow: /feed/
    Disallow: /*/feed/
    Disallow: /comments/feed
    Disallow: /feed/$
    Disallow: /*/feed/$
    Disallow: /*/feed/rss/$
    Disallow: /cgi-bin
    Disallow: /wp-admin
    Disallow: /wp-includes
    Disallow: /wp-content/plugins
    Disallow: /wp-content/cache
    Disallow: /wp-content/themes
    Disallow: /trackback
    Crawl-delay: 120
    
    User-agent: MSNBot
    Disallow: /wp-admin/
    Disallow: /wp-includes/
    Disallow: /feed
    Disallow: /feed/
    Disallow: /*/feed/
    Disallow: /comments/feed
    Disallow: /feed/$
    Disallow: /*/feed/$
    Disallow: /*/feed/rss/$
    Disallow: /cgi-bin
    Disallow: /wp-admin
    Disallow: /wp-includes
    Disallow: /wp-content/plugins
    Disallow: /wp-content/cache
    Disallow: /wp-content/themes
    Disallow: /trackback
    Crawl-delay: 120
    
    User-agent: bingbot
    Disallow: /wp-admin/
    Disallow: /wp-includes/
    Disallow: /feed
    Disallow: /feed/
    Disallow: /*/feed/
    Disallow: /comments/feed
    Disallow: /feed/$
    Disallow: /*/feed/$
    Disallow: /*/feed/rss/$
    Disallow: /cgi-bin
    Disallow: /wp-admin
    Disallow: /wp-includes
    Disallow: /wp-content/plugins
    Disallow: /wp-content/cache
    Disallow: /wp-content/themes
    Disallow: /trackback
    
    User-agent: Slurp
    Disallow: /wp-admin/
    Disallow: /wp-includes/
    Disallow: /feed
    Disallow: /feed/
    Disallow: /*/feed/
    Disallow: /comments/feed
    Disallow: /feed/$
    Disallow: /*/feed/$
    Disallow: /*/feed/rss/$
    Disallow: /cgi-bin
    Disallow: /wp-admin
    Disallow: /wp-includes
    Disallow: /wp-content/plugins
    Disallow: /wp-content/cache
    Disallow: /wp-content/themes
    Disallow: /trackback
    Crawl-delay: 120
    
    User-Agent: Yahoo! Slurp
    Disallow: /wp-admin/
    Disallow: /wp-includes/
    Disallow: /feed
    Disallow: /feed/
    Disallow: /*/feed/
    Disallow: /comments/feed
    Disallow: /feed/$
    Disallow: /*/feed/$
    Disallow: /*/feed/rss/$
    Disallow: /cgi-bin
    Disallow: /wp-admin
    Disallow: /wp-includes
    Disallow: /wp-content/plugins
    Disallow: /wp-content/cache
    Disallow: /wp-content/themes
    Disallow: /trackback
    Crawl-delay: 120
    
    Sitemap: https://www.****/sitemap.xml
    Sitemap: https://www.****/sitemap.xml.gz
    User-agent: *
    Disallow: /
    Anonymous User 7265597

    (@anonymized-7265597)

    It is common on shared hosting for wordpress to use around 30mb memory per page request so you high level of visitors won’t be helping as you’ll be hitting your cpu limit.

    you should perhaps look at a dedicated server or a web plan with your hosts that allow for high visited websites.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘High CPU Use Problem’ is closed to new replies.