[solved] Downloads are slow from Litespeed webserver compare to apache

#1
Hello

I have "Litespeed Web Server Enterprise v4.1.13" installed on a server with 100MB/s port. Problem is that download of large static files like an iso image wont go above 4MB/s.

After doing lot of tests i installed apache on same server on port 81, and download from apache can easily go up to 11 MB/s.

I also tried apache on same port 80 with different IP and it still can go up to 11 MB/s. But downloads from litespeed wont go over 4 MB/s.

There is no bandwidth throttling at OS or network level. And litespeed is already setup to use "SendFile()". What else i can check ??

Thanks for any help.

Regards

James
 
Last edited by a moderator:

webizen

Well-Known Member
#2
To help troubleshoot, either provide your server environment info or pm temporary ssh root access and how to reproduce the issue.
 
#5
Hello

Since i have a paid license, is there any proper way to get support than sending pms and get some very basic suggestions without any much help in several weeks ?

Was it a wrong decision to use litespeed webserver while Apache has no such issue as i mentioned in my first post?

Regards
 

webizen

Well-Known Member
#6
it is not apple to apple comparison since apache doesn't take traffic.

Per your below feedback, it is more of a network throughput (bottleneck) issue for remote download.

james2a said:
Hello

I did that already, but it dont make any difference. Downloads To far away server like Florida (server is at las vegas) wont go over 4 MB/s, While downloads with in our network can easily go over 10 MBps.

Apache with default settings works ok.
 
#7
And the bottleneck is only for litespeed, Not for apache ? strange. I already sent you download link of apache and litespeed. Both on same server.
 
#8
Actually changing to default values you provided works great. Now its download speed is 11 mbps. Thanks

Send Buffer Size (bytes) 0
Receive Buffer Size (bytes) 0
I/O Event Dispatcher best (All platforms)
Max Cached Small File Size (bytes) 4096
Total Small File Cache Size (bytes) 20M
Max MMAP File Size (bytes) 256K
Total MMAP Cache Size (bytes) 40M
Use sendfile() Yes
Use Asynchronized disk I/O (AIO) Yes
AIO Block Size 1M

Thanks again for the help.
 
Top