1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Being throttled because of cpu usage

Discussion in 'Troubleshooting and Problems' started by Nicky Vermeersch, May 13, 2013.

  1. Nicky Vermeersch

    Nicky Vermeersch Active Member

    I've recently made the switch to equip my site only with Xenforo (and some Addons) instead of Xenforo + Wordpress to save on resources (and with wp being a cpu hog I thought it would vastly improve). The problem was that I experienced serious performance degradation and even cpu throttling and I just had to do something about it. The entire site was moved to Xenforo, and at the same time I upgraded my hosting at Bluehost from Shared Hosting to Pro Hosting (which is around 250 USD a year)

    However instead of fixing the issue, the problem remained! I hooked up the site with CloudFlare's CDN services to minify CSS, JS and do all other sorts of performance saving tricks, as well as serving static content on CloudFlare's CDN servers instead of mine (which lead to some very efficient request saving and bandwith saving however). It even happens sometimes that CloudFlare detects my site as being offline, where I have to 'View the Live version'. When I asked Bluehost's support why this is happening, they replied that the problem lies within CloudFlare, and that I should perhaps disable CloudFlare alltogether to prevent those issues.

    I also enabled phpfastcgi (though that only works on php 5.2 at Bluehost) to increase php performance, but that didn't seem to give any notable gain.

    I've sent a request towards Bluehost's Support and received an answer among the lines that my website has too much static content that isn't cached by the user (the files he mentioned however weren't really static, as they are avatars of minotar.net. A service that offers avatars of players who are online in my game server) Though those ~12 marginally small files aren't cached by the client's browser, I don't see how this can increase the cpu to the point where I'm being throttled? :\

    Personally I feel like I'm being sent around by their support, fixing non-issues while the actual problem lies somewhere else. They also said prior to my upgrade to Pro hosting that my site had too many visitors, and they convinced me to actually go for their more expensive Pro Hosting to fix all my worries, but in fact it has not, even though I took some serious steps in an attempt to increase performance :(

    Throttle example #1
    Throttle example #2
    CloudFlare report #1

    Does anyone have an idea what could be wrong?
     
  2. CyclingTribe

    CyclingTribe Well-Known Member

    What is the site URL?
     
  3. Nicky Vermeersch

    Nicky Vermeersch Active Member

  4. CyclingTribe

    CyclingTribe Well-Known Member

    I'm noticing intermittent stalls when navigating, but I'm curious about the spec of the so-called "Pro Hosting" you're now on - what did they quote you when you moved up to the better package?

    Also find out from your host if they have installed (or you can install) any PHP Opcode caching such as Xcache or APC?
     
  5. Nicky Vermeersch

    Nicky Vermeersch Active Member

    Basically they advertised this to me as:

    A reverse ip lookup showed that getting their 'Pro Package' isn't as promised.

    I used to have Shared Hosting at box778.bluehost.com which hosts 726 domains.
    Now I have Pro Hosting at box731.bluehost.com which hosts 443 domains, which is only 39% less clients.
    They claimed that moving to Pro Hosting would remove a lot of issues such as IO bottlenecks, more cpu time for me because I'd get throttled less, lower seek times etc


    Currently I don't have any php Opcode caching at all (i think) though I do have access to ssh and could attempt to install it APC through there?

    edit: you can see the specs at http://mcmiddleearth.com/uploads/phpsysinfo
     
  6. Nicky Vermeersch

    Nicky Vermeersch Active Member

    Now I'm experiencing major outages and pageloads into 20+ seconds. I don't think I have any sort of caching installed, though my site isn't exactly that busy as well. Reports that I took tell me that the First Byte to Arrive takes between 10-20 seconds :\
     
  7. CyclingTribe

    CyclingTribe Well-Known Member

    Seems to be working okay for me - are you sure it's not just a local thing on your machine?
     
  8. Nicky Vermeersch

    Nicky Vermeersch Active Member

    Some moderators told me that they notice slowdowns as well, I'm not really sure if its time related or even visitor related as it sometimes appear during peak hours and even off hours

    edit: I also started to notice that while I am browsing a thread for example, that I don't see the comment box on the bottom. Instead I see the moderator ribbon even though I have nothing selected. When the page would finally be fully loaded, this moderator ribbon would disappear and I would be able to see the comment box. :eek:
     
  9. craigiri

    craigiri Well-Known Member

    I have bluehost for a tiny WP personal blogs and it is slow as heck all the time.....for years! The only reason I left it there is because I am lazy (I'll move it this year!)

    You shouldn't have to do all those tricks given the relatively low traffic on your server. Personally, I think if you can get a low-end VPS or something similar in the same price range.....it might be better!
     
    CyclingTribe likes this.
  10. SneakyDave

    SneakyDave Well-Known Member

    If you're managing this yourself, I would bet that you could run a 1G DigitalOcean VPS for $10 and get better results. I do that on a few of my sites and it my CF stats are more than yours.

    PC me if you want more information about my setup.
     
    Ernest L. Defoe and Shelley like this.
  11. Walter

    Walter Well-Known Member

    CyclingTribe likes this.
  12. CyclingTribe

    CyclingTribe Well-Known Member

    I never noticed that when I first looked - I've just checked now: Load Averages 24.75 - 24.61 - 22.90

    If that's the "norm" for the server you're on, then it's unlikely to be your site that is causing the high load, but you'll certainly suffer as a result.

    I'd speak to your host and ask them to look again at the server and it's high load and see if they can do anything to optimise it.

    If not, look for another host and get moved. (y)

    Cheers,
    Shaun :D
     
  13. Walter

    Walter Well-Known Member

    If you have to tell your host that the server is overloaded its'definitely time to move to a better host:
    • Either he knows about the overload and doesnt care because he oversells heavily (this particular host has the word "unlimited" over all the place)
    • or he doesn't know and then he should be no host at all
     
    Ingenious and CyclingTribe like this.
  14. Nicky Vermeersch

    Nicky Vermeersch Active Member


    Yeah I basically feel tricked because their support convinced me into buying 'More and better'. But in the end it's the exact same hardware (though less clients - but not as promised).
    The host itself is Bluehost, and the package I am using is their 'Pro hosting', which costs me 24 USD a month. I could get a much more powerful VPS for that money :\

    I currently enabled very aggressive caching on CloudFlare, it seems that the speed has been improved, though I'm not really sure if that is because of the aggressive caching.

    I asked them if they could install or allow the usage of APC, but my question got avoided and I got this generated email that just seemed to check for keywords in my ticket.
     
  15. Walter

    Walter Well-Known Member

    CyclingTribe likes this.
  16. Ernest L. Defoe

    Ernest L. Defoe Well-Known Member


    You could do as SneakyDave suggested get a VPS from DigitalOcean and control everything yourself. I got a test setup on one of their VPS's just more or less learning how to manage a server and install stuff. I've managed to install Percona, varnish, and a few other things. Or you can step up to a better shared hosting solution as I see you said you pay $24 a month with Bluehost and try out xFHost. I use them for my main site and I don't have many issues with them at all.
     
    SneakyDave and CyclingTribe like this.
  17. Nicky Vermeersch

    Nicky Vermeersch Active Member


    Only the Bluehost monitor only tells you that 'It's Ok' I'm not really sure what they are monitoring with it (is mySQL overloaded? IO limit reached? Allocated CPU time exceeded?) A while ago I logged in through SSH for a few hours and used top to see what my actual personal load average was, and it was very very low on average (sometimes peaks to 7% for a second due to php, but nothing consistent or high)
     
  18. CyclingTribe

    CyclingTribe Well-Known Member

    Have a word with Mike at xfHost to see what he could offer you. (y)
     
    SneakyDave and Ernest L. Defoe like this.
  19. WSWD

    WSWD Well-Known Member

    Unfortunately, that's how BlueHost operates, and they have for years. They are owned by a company called EIG (Endurance International Group). They are known for buying up good and successful hosts and running them completely into the ground. This Wikipedia article seems somewhat up-to-date as far as the hosts owned by EIG: http://en.wikipedia.org/wiki/Endurance_International_Group

    Remember that if you do go with a VPS, cPanel is not included, so if you are used to managing your hosting, emails, FTP accounts, databases, etc., through cPanel, that is going to be an extra cost ($10-15/mo. generally).
     

Share This Page