Results 1 to 5 of 5

Thread: Resource Limit Hit

  1. #1
    nishan's Avatar
    nishan is offline x10Hosting Member
    Join Date
    Oct 2007
    Location
    Sri Lanka
    Posts
    12

    Question Resource Limit Hit

    hi

    first let me say you do a awesome job in providing a excellent free hosting facility. My site ( www.amazinglanka.com ) is a build from the scratch static site which does not use any databases, applications or server side scripting. Only php I use is "?php include"'s to join parts of the web page.

    Since last two weeks I have been hit with the following message several times

    Resource Limit Hit!


    This site has exceeded its resource limits for the past hour, web traffic has been restricted. Limits are reset every hour, please try back shortly. Common reasons for this error:


    • High resource usage scripts.
    • Poorly coded scripts.
    • Time to upgrade.


    can somebody please help me in looking at this and giving me little more details so that I can take necessary action.
    Website : www.amazinglanka.com

    thanks in advance

  2. #2
    essellar's Avatar
    essellar is offline Community Advocate
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,683

    Re: Resource Limit Hit

    Have you noticed any unusual user-agents in your analytics? There are an awful lot of potential HTTP requests on your page, and if a non-caching bit of code tries to make all of those requests, it may be pushing you over the limit even though each request requires next to no resources to fulfill. (A standard browser will look at each additional request for the same resource and say "I've already got that".) If there's a badly-coded bot hammering your site, you may have to start blocking IPs to get things back under control.
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

  3. #3
    nishan's Avatar
    nishan is offline x10Hosting Member
    Join Date
    Oct 2007
    Location
    Sri Lanka
    Posts
    12

    Re: Resource Limit Hit

    Hi Essellar

    thanks for the reply. I am trying to digest what you said. What do u mean by "potential" http requests ? Anyway the cPannel only give a error logs.

    There is nothing unusual in google analytics as far as I can see.

    meanwhile I will do some digging on the the search bot (www.freefind.com) which I am using. I have been using it for years but they may have made some changes.

    thanks

  4. #4
    essellar's Avatar
    essellar is offline Community Advocate
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,683

    Re: Resource Limit Hit

    By "potential" I mean that there are a small number of icon-sized images that are used many, many times on the page. The average browser knows enough to re-use the same image across the whole page when it's referred to more than once; a badly-written bot will actually make a new request every time. Your own bot is probably not the source of the problem. And it was just something to check out -- GA (Google Analytics) might have reported a strange user-agent string, and that would have made an easy fix.

    I don't have any direct access to your account (just the account information summary), so I can't check anything directly. Are you using any automated backup scripts or anything similar?
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

  5. #5
    Sharky's Avatar
    Sharky is offline The Biker
    Join Date
    Oct 2007
    Location
    The Agency
    Posts
    3,857

    Re: Resource Limit Hit

    Additionally it may be worth configuring the site with a service like CloudFlare - this serves as a DNS provider and content delivery network.

    My sites use it, and one of them...there's not a lot on there, but 4.6MB has been served, but only 1MB has been called from the web server - scale that up and it's quite a saving.
    Last edited by Sharky; 08-04-2012 at 04:22 PM.

Similar Threads

  1. Resource Limit Hit!
    By lonleyanshika21 in forum Free Hosting
    Replies: 3
    Last Post: 09-29-2011, 10:37 PM
  2. Resource Limit Hit! why?
    By darknow49 in forum Free Hosting
    Replies: 0
    Last Post: 09-28-2011, 04:13 PM
  3. Resource Limit Hit!
    By henryhpq19 in forum Free Hosting
    Replies: 0
    Last Post: 09-26-2011, 06:03 PM
  4. resource limit hit!
    By jplam1426 in forum Free Hosting
    Replies: 0
    Last Post: 09-25-2011, 04:58 PM
  5. Resource Limit Hit
    By asammustafa143 in forum Free Hosting
    Replies: 1
    Last Post: 09-25-2011, 07:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
dedicated servers