« Previous Next »

Not Answered Thread: Downloads Time Out From Server

Last post 01-29-2009 8:28 AM by tomkmvp. 7 replies.

 

RSS

Page 1 of 1 (8 items)

Sort Posts:

  • 01-20-2009, 2:09 PM

    • trishh
    • Not Ranked
    • Joined on 01-20-2009, 7:04 PM
    • Posts 3

    Downloads Time Out From Server

    I run an online Shop... we have a windows 2003 server . Our customers download their "files" from our site. Everysingle download that is attempted times out between 75% and 99% then gives the Server Times Out error. We have gone through and disabled the whole firewall thing, we've changed MinBytesPerSecond, we've changed site connections to unlimited etc... and now we are just stuck.. is there something I am missing? Any help would be appreciated at this point.

    we have some not so happy customers.

  • 01-20-2009, 9:19 PM In reply to

    Re: Downloads Time Out From Server

    What do the logs say (hhtperr, event and Full IIS logs)?

    First off I would eliminate the possibility of the route/firewall/network issue.

    What is like on the serverside local lan or the server itself?

    What do you mean 'download'? Can you download say a normal zip file in the root of your website or an image or do you mean in the application genrates a valid download link, etc via code? HOw does it work?

    Is it when the traffic is high or anytime?

  • 01-27-2009, 3:11 PM In reply to

    Re: Downloads Time Out From Server

    Hello!

    Are the files you are attempting to download larger than 2MB? That is the default download size limit in IIS.

    To increase this, simply run the following command which increases the Download limit to 10MB.

    cscript C:\inetpub\adminscripts\adsutil.vbs set w3svc/AspBufferingLimit 10484880

    Hope this helps!

    Brock Hensley
    Technical Support Representative
    http://www.ServerIntellect.com

    Managed Servers, 24x7 U.S. Support, Web Hosting Solutions.

    Please mark the replies as answers if they help!
  • 01-27-2009, 3:33 PM In reply to

    • trishh
    • Not Ranked
    • Joined on 01-20-2009, 7:04 PM
    • Posts 3

    Re: Downloads Time Out From Server

     We need to be able to download files that are up to 50MB

     If I change the download limit to what you said above.. is that going to allow them to download those larger files... 

     Some downloads go through, some dont.

    Example: customer buys product that has 4 downloads.  2MB 14MB 35MB 63MB

    they download one file at a time.. the first 2 go through. they are slow but go through.. the 3rd, gets all the way to 75% sometimes higher then freezes and times out... then they try download #4 and it does the same thing....

    I will check the admin script you suggested... maybe it will be enough to let those other files go through.

     

  • 01-27-2009, 4:45 PM In reply to

    Re: Downloads Time Out From Server

    Hello,

    It definitely sounds like a limit problem.

    You can modify the number to fit your needs, to download files as large as 100MB you could use the following:

    cscript C:\inetpub\adminscripts\adsutil.vbs set w3svc/AspBufferingLimit 104857600

    Hope this helps!

    Brock Hensley
    Technical Support Representative
    http://www.ServerIntellect.com

    Managed Servers, 24x7 U.S. Support, Web Hosting Solutions.

    Please mark the replies as answers if they help!
  • 01-27-2009, 5:30 PM In reply to

    Re: Downloads Time Out From Server

    The point was that there are limits and an example was increase it 10MB you use more so increase it more.The default for IIS is really low so when you have a new server you have to increase it away.

    With files that size it can get unstable anyway as you have to account for the whole network transmission.

    The logs will tell you stuff that is occurring. Size of data sent - to see if any limits are hit, time taken for the event to look for timeouts, etc.

    Then the next level might well be a packet sniffer to see what data fails. That way you can establish if the IIS server machine did indeed send out the packets, if it did send out a packet and did not get a reply (or did not receive another request for another packet) then the issue is elsewhere. 

    But I am will to bet that it will be a network/firewall issue.

  • 01-27-2009, 11:08 PM In reply to

    • trishh
    • Not Ranked
    • Joined on 01-20-2009, 7:04 PM
    • Posts 3

    Re: Downloads Time Out From Server

     Okay So the IIS limits have been changed. That is one thing we have not tried before, so we will see if it make any difference for us now.

     As far as firewalls. we have one and it is on the lowest setting there is...so it might as well not even be there, but because of the type of site we run we have to have some sort of firewall/security.

    The logs that we have checked which are from "X-cart" the shopping cart software we run, that manages teh downloads that are being sent out... was giving us a time-out error. 

     We have since changed a few settings that pertain to X-cart and have seen improvement in the downloads.. which is what I mentioned earlier.. instead of no downloads goign through, we only have 3 out 5 going through.. which when we have 6 people trying to download (different files) isnt a good thing.

     I really appreciate all the input.. we are willing to try anything at this point... downloads are what our shop is all about and if your customers dont get their downloads.. we dont get our money... :) 

  • 01-29-2009, 8:28 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 7,651
    • IIS MVPs

    Re: Downloads Time Out From Server

    ServerIntellect_BH:
    Are the files you are attempting to download larger than 2MB? That is the default download size limit in IIS.

    Where is that documented and how does serving a static file involve an ASP buffer?

Page 1 of 1 (8 items)