send buffer size?

Discussion in 'Install/Configuration' started by miracle, Apr 8, 2008.

  1. miracle

    miracle New Member

    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: Apr 8, 2008
  2. mistwang

    mistwang LiteSpeed Staff

    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.
  3. miracle

    miracle New Member

    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?
  4. mistwang

    mistwang LiteSpeed Staff

    that's for the whole server, 65535 is per socket.
  5. miracle

    miracle New Member

    How to find the default socket size?

Share This Page