The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache downloads not completing

Discussion in 'EasyApache' started by Curto, May 7, 2004.

  1. Curto

    Curto Active Member

    Joined:
    Sep 4, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NY, USA
    Hi all,

    several of my customers have come to be with a single problem which appears to exist over all my servers (RHE/RH9).

    When downloading large files (>10MB or so) using dialup connections, the download is finishing early... so when downloading a file which their download manager (IE, Opera, Netscape, etc) shows as 30MB it will 'finish' when it has not reached that size.

    I've had no complaints from users of cable/dsl connections.

    This is affecting users on dialup regardless of their geographical location..

    Is there some timeout on file transfers in apache which I may be able to tweak to fix this?
     
  2. netlook

    netlook Well-Known Member
    PartnerNOC

    Joined:
    Mar 25, 2004
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    16
    Anyone? :D
     
  3. netlook

    netlook Well-Known Member
    PartnerNOC

    Joined:
    Mar 25, 2004
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    16
    Hello? Does enybody know what is the problem?
     
  4. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    Some dialup providers have restrictions...Have the user check with the ISP for limits.
     
  5. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Well it could be any number of things really. What are the traceroutes looking like to your server from these customers and vice versa ? Any chance the download could be timeing out ? Do you have any sort of limits set, serverside, that might be causing an issue ? Anything suspicious in the apache error logs? or messages ? Any chance a firewall might be acting up and perhaps effecting this ?
     
  6. netlook

    netlook Well-Known Member
    PartnerNOC

    Joined:
    Mar 25, 2004
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    16
    Yes, there are no restrictions for downloading files by WWW. So this might be connected with server setup?
     
  7. bamasbest

    bamasbest Well-Known Member

    Joined:
    Jan 10, 2004
    Messages:
    531
    Likes Received:
    0
    Trophy Points:
    16
    Hmm ....

    You may want to play with/adjust the Timeout and KeepAliveTimeout directives in /etc/httpd/conf/httpd.conf.

    You can learn more at apache.org
     
  8. netlook

    netlook Well-Known Member
    PartnerNOC

    Joined:
    Mar 25, 2004
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    16
    It is a problem on busy server so the TimeOut and KeepAliveTimeOut are low.
    Currently I have:

    TimeOut 12
    KeepAliveTimeOut 1

    Any advice?
     
  9. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    You might as well turn keep alive off with a limit like that. I'd not use anything less than 8 for keepalive timeout. I think perhaps the timeout might be a little low as well.. but its all up to you.
     
  10. netlook

    netlook Well-Known Member
    PartnerNOC

    Joined:
    Mar 25, 2004
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    16
    Ok, changed to:

    TimeOut: 10
    KeepAliveTimeOut 8

    But now from time to time I see around 40 running processes in one second... Is it normal, as I said - this is a busy server with lots of forums and dynamic sites. I consider what valuse would be OK :rolleyes:
     
  11. Leonardo Gomes

    Joined:
    Jun 10, 2005
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    put here your httpd.conf configuration. keepalive, timeout etc...
     
Loading...

Share This Page