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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > send buffer size?

Reply
 
Thread Tools Display Modes
  #1  
Old 04-08-2008, 10:37 AM
miracle miracle is offline
Member
 
Join Date: Mar 2008
Posts: 25
Default send buffer size?

What's a good send buffer size if serve multimedia files ranging from 100-300MB? And how to find out the default OS send and receive buffer size?
I noticed high loads when serving these multimedia files for the first time today. And iowait is very high.


free -m
total used free shared buffers cached
Mem: 3041 2921 120 0 31 2467
-/+ buffers/cache: 421 2619
Swap: 2047 0 2047

Last edited by miracle; 04-08-2008 at 10:44 AM..
Reply With Quote
  #2  
Old 04-08-2008, 01:58 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You can set send buffer to the maximum value "65535". You may be able to find out the default in Linux /proc system somewhere, google it.
Reply With Quote
  #3  
Old 04-30-2008, 09:36 AM
miracle miracle is offline
Member
 
Join Date: Mar 2008
Posts: 25
My default OS send and receive buffer size is 16777216. However, the web console says 65,535 is the max. Which value will it use if the default is bigger than that? How come it's only 65,535 max?
Reply With Quote
  #4  
Old 04-30-2008, 10:20 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
that's for the whole server, 65535 is per socket.
Reply With Quote
  #5  
Old 04-30-2008, 11:24 AM
miracle miracle is offline
Member
 
Join Date: Mar 2008
Posts: 25
How to find the default socket size?
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 11:32 PM.



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