Speed problem downloading large file

Discussion in 'Install/Configuration' started by Kaosports, Apr 12, 2018.

  1. Kaosports

    Kaosports New Member

    Last edited: May 22, 2018 at 10:28 AM
  2. NiteWave

    NiteWave Administrator

    the ab command syntax is wrong with my test machine. error message is like
    how can you run "ab -c 10 ..." successfully ?
    please try in following format:
    ab -c 10 -n 100 http://test.server:8080/largee_file
    and best do local test to ensure not network problem. or switch to litespeed, so ab benchmark same port of test server.
    Last edited by a moderator: Apr 12, 2018
  3. mistwang

    mistwang LiteSpeed Staff

    Is the large file streamed through PHP script?
    Please do longer ab test, and check server top output for CPU usages.
    If it is through PHP script, it wont be very efficient, as LiteSpeed need to buffer the file content in its swap memory.
    better use internal redirect to let web server serves the static file directly.

Share This Page