LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [solved] Downloads are slow from Litespeed webserver compare to apache

Reply
 
Thread Tools Display Modes
  #1  
Old 08-08-2012, 08:39 AM
james2a james2a is offline
New Member
 
Join Date: Aug 2012
Posts: 5
Smile [solved] Downloads are slow from Litespeed webserver compare to apache

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 NiteWave; 08-27-2012 at 06:10 PM..
Reply With Quote
  #2  
Old 08-08-2012, 04:03 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
To help troubleshoot, either provide your server environment info or pm temporary ssh root access and how to reproduce the issue.
Reply With Quote
  #3  
Old 08-09-2012, 08:19 AM
james2a james2a is offline
New Member
 
Join Date: Aug 2012
Posts: 5
thanks, i sent you some details in pm
Reply With Quote
  #4  
Old 08-09-2012, 02:15 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
noted. will update the thread.
Reply With Quote
  #5  
Old 08-27-2012, 10:27 AM
james2a james2a is offline
New Member
 
Join Date: Aug 2012
Posts: 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
Reply With Quote
  #6  
Old 08-27-2012, 10:41 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
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.

Quote:
Originally Posted by james2a
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.
Reply With Quote
  #7  
Old 08-27-2012, 12:07 PM
james2a james2a is offline
New Member
 
Join Date: Aug 2012
Posts: 5
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.
Reply With Quote
  #8  
Old 08-27-2012, 01:50 PM
james2a james2a is offline
New Member
 
Join Date: Aug 2012
Posts: 5
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:48 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.