1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

incomplete http downloads

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by irian, Jan 25, 2011.

  1. irian

    irian Guest


    We are using plesk 9.5.2 on centos 5.5 i386.
    We are having an issue when trying to download large files (650 MB) using http.
    Regardless of the website the download stops before the whole file can be fetched.
    Sometimes it is around 200 MB, sometimes around 300MB or 100 MB. Every time it stops at a different value.
    We replicated using different files so the file is not the issue.

    It is clearly an apache issue because when trying to serve files using thttpd on the same port (80) the download completes ok.

    Do you have any ideea why is this happening?

    thank you
  2. IgorG

    IgorG Forums Analyst Staff Member

    Oct 27, 2009
    Likes Received:
    Novosibirsk, Russia
    Did you try to investigate apache logs and google 'apache file size limit' at least?
  3. irian

    irian Guest

    I've disabled mod_deflate and added
    SetEnv no-gzip dont-vary
    config directive

    The headers look ok:

    GET /debian-508-i386-CD-1.iso HTTP/1.1
    User-Agent: Opera/9.80 (Windows NT 6.1; U; en) Presto/2.7.62 Version/11.01
    Host: xxxxxxxxxxxxxxxx
    Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
    Accept-Language: en-US,en;q=0.9
    Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
    Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
    Connection: Keep-Alive

    HTTP/1.1 200 OK
    Date: Tue, 08 Feb 2011 14:03:16 GMT
    Server: Apache/2.2.3 (CentOS)
    Last-Modified: Tue, 08 Feb 2011 13:36:30 GMT
    ETag: "31e85ad-287a9800-6f98f380"
    Accept-Ranges: bytes
    Content-Length: 679122944
    Connection: close
    Content-Type: application/octet-stream

    [root@hosting2 logs]# ls -al /var/www/vhosts/xxxxxxxxxxxxxxx/httpdocs/debian-508-i386-CD-1.iso
    -rw-r--r-- 1 root root 679122944 Feb 8 15:36 /var/www/vhosts/xxxxxxxxxxx/httpdocs/debian-508-i386-CD-1.iso
    [root@hosting2 logs]#

    But still the problem persists. In the access_log nothing appears when the download is incomplete.
    Also nothing shows under error_log.
  4. darknessx

    darknessx Guest

    same problem apache die and downloads incompletes

    same problems, since 10.1.1 patch 7, download incomplete in big files (backups), and too apache die after of suspend/active, or delete some account of customers, in cento 5 (32bits) before work fine with plesk 10.0.1 both things, i have that problems after of update plesk to 10.1.1
  5. irian

    irian Guest

    problem still persists


    the issue is still present. Do you know of a solution for this. Thanks.