Excess CPU Usage

seannevo

16 May, 2012 03:53 AM

I received this email from my hosting company, while I'm not suggesting it has anything to do with Jigoshop, i'm simply interested to know if any of you have experienced similar issues when running wordpress websites. I tried using WP super cache plugin but that did not work well with Jigoshop so I had to deactivate it.
My website is very basic with just a couple of plugins and with only about 130 products so I'm puzzled why it's generating so much CPU usage. Any suggestions would be very much appreciated. Cheers.

Greetings,

Your hosting account with username: xxxxxxx has over the last few days averaged CPU usage that is in excess of your account allocation.

This could be caused by a number of factors, but is most likely to be due to a misconfigured installation of a 3rd party script, or by having too many features, modules or plugins enabled on your web site....If you simply have a very busy or popular web site, you may need to upgrade your account which will give you a higher CPU allocation. Please contact our support team if you need help with this.

Until your usage average drops back below your CPU quota, your account will be throttled by our CPU monitoring software. If your account continues to use more CPU than what it is entitled to, you risk having your account suspended.

  1. Support Staff 2 Posted by ivica on 16 May, 2012 07:43 PM

    ivica's Avatar

    I have never had these problems with my host, and I'm paying minimum price
    per year (the lowest package) - only 60 USD per year.

    Maybe that you start thinking of changing your host?

  2. 3 Posted by seannevo on 14 Sep, 2012 02:04 AM

    Hi Ivica, since posting my initial post I have moved to a different hosting company, but just today received an email from them saying that my website is using large amounts of CPU on the server!! see below email from hosting company. I've tried super cache and w3 total cache plugins, but both plugins affect the functionabilty of Jigoshop's cart. Can you recommend a caching plugin that is compatible with Jigoshop?

    "Hello,

    Thank you for choosing HostGator.com! With the effort of making the experience on our services the best possible we have begun to attempt to pro-actively begin fixing issues with websites that are using a large amount of CPU on the server. We have determined your account to be one of these websites and took immediate action to assist you in reducing this CPU usage before it becomes a Terms of Service violation.

    We found that your website (cheapoz.com.au) is using WordPress on this account and it either did not have proper settings for WP Super Cache or did not have any caching system installed at all. Caching, if installed and configured properly for the environment it is in can drastically help reduce the amount of CPU the website uses. We have installed and/or configured WP Super Cache on your WordPress installation and found that the changes were favorable to the server's performance. We did not see any adverse affects on your website, however should you find any please let us know and we will be glad to look into those issues.

    Below are the caching settings that we have set:

    ======================== Caching Enabled: Yes Recommended
    Browser Cache: Yes Yes

    Rewrite Mode: Yes Yes
    PHP Mode: No No
    Legacy Mode: No No

    Cache Users: No No
    Compression: Yes Yes

    Cache Expiry: 3600 s 3600 s

    Additionally, you were being excessively crawled by the BingBot/MSNBot search engine crawler so I was forced to block requests from that crawler using the .htaccess file located in /home/che21114/public_html/. This being the case you will want to ensure that you have a robots.txt file setup for each site you host and that it contains, at the least, the following lines:

    User-agent: *
    Crawl-delay: 30

    You can find more information on creating useful robots.txt files at the following links:

    http://www.robotstxt.org/
    http://www.mcanerin.com/en/search-engine/robots-txt.asp
    http://support.hostgator.com/articles/hosting-guide/lets-get-starte...

    For Google and Bing, however, changes to their crawl rate need to be made through their respective webmaster tools accounts and information on this can be found here:

    http://support.hostgator.com/articles/specialized-help/telling-goog...
    http://support.hostgator.com/articles/specialized-help/telling-bing...

    Due to the volume of hits from BingBot/MSNBot I highly recommend you follow the above guide on how to limit their crawl rate on your site.

    Please let us know if you have any further questions or issues and we'll be happy to assist."

  3. Support Staff 4 Posted by ivica on 14 Sep, 2012 09:52 AM

    ivica's Avatar

    Sean, I could recommend this plugin: - you can check it out here:
    http://codecanyon.net/item/performance-optimizer-plugin-for-wordpress/2413770
    .

    Again, you are one of the rare users to report this one (CPU excessive
    usage), I presume that shared hosting is involved in your case.

  4. 5 Posted by seannevo on 15 Sep, 2012 03:30 AM

    Hi Ivica, yes shared hosting. I purchased the plugin you recommended but it has the same effect on the jigoshop add to cart functionabilty same as the other caching plugins i've tried(super cache&w3 total cache), with products not being added to cart.
    This is just so frustrating, if I can't improve the CPU usage they will suspend my hosting, I've already changed my hosting once...don't know what to do...

  5. Support Staff 6 Posted by ivica on 15 Sep, 2012 10:59 AM

    ivica's Avatar

    Hi Sean! Please contact guys for this plugin (
    http://codecanyon.net/user/ibinc), they will make some corrections (free of
    charge) so that this plugin can be in majority used in combination with
    Jigoshop, sorry I didn't mention it before.
    Ibinc is also seeking the way how to use their plugin all functionalities
    in combination with Jigoshop.

    As for your host, he should be able to tell you what processes are in use
    at any given time and he can see if any are Jigoshop related any WordPress
    process can be problematic. For your information, other users are not
    reporting this problem. If you would ask me before changing the host, I
    would recommend you Jigoshop/Jigowatt hosting (
    http://jigowatt.co.uk/services/hosting/) - the company that stays behind
    Jigoshop plugin. In this case you would be given detailed report on each
    problem with proposed solution(s) and you would know if it is Jigoshop
    related or some other WP issue.

  6. 7 Posted by Christina on 07 Oct, 2012 11:57 PM

    Hi,
    I'm with HostGator, I am having the same issue. They keep shutting down my site from excess CPU usage, and yes, my hosting is shared. This is what they emailed:

    Upon reviewing the output, it appears the specific plugins that are causing performance issues are listed below:

    Jigoshop - 1.3178 sec - 33.63%
    Page Links To - 1.0892 sec - 27.79%
    Collapsing Categories - 0.7556 sec - 19.28%

    Please try disabling these plugins to see if the issue persists.

    The plugins I use are ones I obviously need, especially since my store is ran on Jigoshop. I hope there is a solution instead of having to change hosting companies or changing my eCommerce platform.

  7. 8 Posted by seannevo on 08 Oct, 2012 10:49 AM

    Hi Christina,
    At least now I know I'm not the only one experiencing these issues.
    Very frustrating, I think we may not have any other choice but to try a different platform, i'm pretty fed up with the threatening emails from the hosting company.
    Keep us updated if you find a way to somehow reduce the cpu usage.

  8. Support Staff 9 Posted by ivica on 08 Oct, 2012 10:52 AM

    ivica's Avatar

    Maybe this hosting? :-)

    *Jigowatt professional hosting* - company that created Jigoshop plugin (
    http://jigowatt.co.uk/services/hosting/)

    Jigoshop User

  9. 10 Posted by Bakk on 17 Dec, 2012 07:25 PM

    Hi seannevo,
    Can you please tell me how have you solved this problem on your site finally http://cheapoz.com.au ?
    I have the same issue and have tried a lot to configure caching plugins with jigoshop but nothing works, I see that your website is running fast enough now, how did you obtain this fast performance please!?

    Thanks a lot.
    Bakk.

  10. 11 Posted by seannevo on 19 Dec, 2012 08:07 AM

    Hi Bakk,

    I haven't quite solved the problem really, one thing that my hosting had done was to reduce the crawl rate of googlebot which according to them was excessive?? I still think that my website is not as fast as I would like it to be but I haven't had any issues with my new hosting in a while (touch wood).
    One interesting point though, as I mentioned previously in the thread, I had to move hosting because of the CPU issues, so I moved to Hosgator from Webcity, my account with webcity was fully paid for a year of hosting so it is still active, what's interesting about this is that although I moved my website to hostgator, I still get an email on a weekly basis from webcity warning me about my excessive CPU usage, go figure...
    Sorry I couldn't be much more of a help, I have tried different caching plugins previously but none was compatible with Jigoshop, I would keep you posted if any updates.

  11. 12 Posted by Bakk on 19 Dec, 2012 10:56 AM

    Thanks a lot seannevo for your reply, I think I have to change my hosting also, maybe I'll try Hosgator as you've did.

  12. 13 Posted by nohl on 27 Dec, 2012 11:35 PM

    We have a few jigoshop sites on Hostgator. Some seem a bit slow and others are fine. I can't find a solid patterns, but I think that the number of rows in the catalog view affects performance.

    Anyone else?

  13. Support Staff 14 Posted by chriscct7 on 28 Dec, 2012 01:16 AM

    chriscct7's Avatar

    Hi there,
    On the ones that you have issues with speed, I'd install an analytics plugin (not google analytics) and see who the biggest vistors are. 9 times out of 10, you're getting DDOS'd by a search engine bot.
    Catelog rows has a significant impact. This is because every new row loads more images, and make a longer query. I'd recommend using something lower than 30 and/or using a Jigoshop compatible lazy-loader.

  14. 15 Posted by nohl on 28 Dec, 2012 05:43 AM

    lazy-loader is new to me. Where might I find a list of Jigoshop compatible loaders

  15. Support Staff 16 Posted by ivica on 28 Dec, 2012 10:43 AM

    ivica's Avatar

    Try here for start:

    http://forum.jigoshop.com/kb/testings/recommended-wp-plugins-for-jigoshop

       - *Performance Optimizer Plugin for
    Wordpress*<http://codecanyon.net/item/performance-optimizer-plugin-for-wordpress/2413770>

    This plugin help you increase the performance of your Wordpress website
    combining >11 various speed up optimization techniques. The goal is to do
    this by optimizing key features of the website’s loading process thus
    increasing the loading speed and limiting the bandwidth consumption, while
    retaining in the same time Jigoshop compatibility (plugin cache option need
    to be deactivated in order that plugin works properly with Jigoshop).

  16. 17 Posted by nohl on 28 Dec, 2012 06:37 PM

    Thanks for the referral to a performance tool.

    I don't think this addresses the fact that Jigoshop's speed seems erratic. It seems like every time someone posts an issues, the response is to buy a commercial add on.

    This is disappointing.

    Do any of the other users agree? Is this just me?

  17. Support Staff 18 Posted by ivica on 28 Dec, 2012 10:13 PM

    ivica's Avatar

    Dear @nohl, as you might noticed, recommended Performance tool is NOT in
    any way affiliated / connected to Jigoshop and it is NOT one of the
    Jigoshop official extensions. I recommended it because I'm using it on my
    site and I'm extremely satisfied with it performance (I can't talk for
    other users possible satisfaction). As majority (if not all) e-commerce
    carts have issues when caching plugins are active on the web site, I only
    deactivated caching option of this plugin, all other (numerous) options are
    active.

    With this, as you call it "commercial add on" (which BTW costs 12 USD), I
    replaced numerous free Wordpress.org plugins I was using before (which was
    precisely my intention), such as:

    Maybe somebody could wonder why I did something so "stupid" to replace free
    WP plugins that worked with commercial one? Well, I didn't regret neither
    one second this decision (in fact, I wish I did it much earlier!) as the
    guys who developed this performance plugin is so skilled in this "speeding
    up WP sites" area that they are fixing almost immediately all the technical
    issues if any arises after various upgrades such as WordPress, themes,
    Jigoshop and non-Jigoshop plugins, etc. Before I had often web site issues
    after performing some free speed-up plugins upgrades without knowing what
    to do when some post-upgrade errors show up and today's "peace of mind" is
    priceless, knowing that you can relay on somebody skilled who can jump in
    and help you ASAP at least for me!

    Speeding up Jigoshop core plugin (if and where possible) is in the scope of
    the Jigoshop developers and I/we in Community Forum can't help on that
    much, except forwarding discussion tickets to them.

    "It seems like every time someone posts an issues, the response is to buy a commercial add on."
    If the real Jigoshop plugin/extension bug/issue is reported it is forwarded
    to developers for corrections (as soon as it is possible).
    If there is some user business request/need involved which is covered by
    any of Jigoshop Extensions (free or commercial) of course that those
    extensions would be recommended to those users for satisfying their
    business need - that's the Jigoshop business model for "feeding" Jigoshop
    development team and this is disappointing??? What would developers need to
    do - to develop all users e-commerce business needs for free?

    For me it is disappointing and sad if there are people that really think
    that beside free Jigoshop core plugin, everything around Jigoshop
    (extensions, themes, etc) should also be free and that all Jigoshop developers should work for free on Jigoshop updates... do you REALLY think
    that Jigoshop or any other company on the world would financially survive
    that "business model"?

  18. 19 Posted by nohl on 29 Dec, 2012 09:40 PM

    That's not really my point. I'm all for buying a good solution. My disappointment comes from the fact that so many answers start with "get this plugin..."

    My other disappointment comes from the fact that Jigoshop's performance seems extremely variable.

    I am bothered by the fact that if people have more advanced shipping needs, there are a number of threads advocating the purchase of the premium shipping module. (it's gorilla sales tactics) It's almost like giving away a car and selling tires separately. Sure there are people who may use a car without tires, but most will probably need them.

    Is that clearer?

  19. Support Staff 20 Posted by chriscct7 on 29 Dec, 2012 10:15 PM

    chriscct7's Avatar

    Jigoshop, the company, did not develop the Premium Shipping plugin. The problem is the people who develop Jigoshop have to get paid as well. I'd like to find another plugin who offers what Premium Shipping does in the core. In addition, it doesn't make sense to offer everything in the core. Its alot harder to maintain a bloated core plugin. Therefore, features that not alot of people need (ie those in Jigoshop Premium Shipping) get developed by third party developers into plugins.

    As for performance, as with any plugin, performance depends on several factors. There's physical factors like the CPU/PHP/RAM combo that your host has you on, to the plugins you have installed to the number of products you have.

    • Chris
  20. Support Staff 21 Posted by ivica on 29 Dec, 2012 10:17 PM

    ivica's Avatar

    I understand your point... I'm sorry that Jigoshop business model is not
    quite up to your expectations but it is as it is: Jigoshop current business
    strategy... As for Gorilla sales tactics - I was looking today for buying
    new notebook - there were notebook on sales with Operation System (mostly
    Windows) and some notebook without any OS pre-installed. People are buying
    both, depending on their needs and wishes. It's the same logics with all
    other things on sale and people will choose what they think it's better
    suiting their needs.

    Can Jigoshop be better? Of course. Is he going to be better? Certainly!
    When I saw how much effort so many people put into it, I don't doubt it,
    especially when I recall how he was "looking" only 1 year ago... It's only
    the question if some users could wait for some time that this "improvement
    transformation" happens or not. I'm very optimistic about it.

  21. 22 Posted by Christina Khin on 02 Jan, 2013 11:22 PM

    Thanks,
    Christina Khin
    IT Specialist
    The Milton H. Erickson Foundation

    On Dec 29, 2012, at 3:17 PM, ivica <[email blocked]> wrote:

    > #ignore

Reply to this discussion

Internal reply

Formatting help or Preview

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.