tcp_recv_bufsize

 < Day Day Up > 

tcp_recv_bufsize

If you use this directive, Squid sets the receive buffer size for each TCP socket that it creates. This value refers to the amount of data that the TCP/IP stack will buffer on behalf of the application. You can see how much data is being buffered at any given time by looking at the Recv-Q column of netstat -n output. Larger TCP buffers lead to increased memory usage and better performance.

In general, you shouldn't need to use this directive. Most operating systems in use today have default TCP buffer sizes greater than 32 KB. Empirical evidence suggests that fewer than 5% of typical web objects are larger than 32 KB.

When tcp_recv_bufsize is set to , Squid doesn't change the TCP buffer size from its default value.

Syntax

 tcp_recv_bufsize   size-specification   

Default

 tcp_recv_bufsize 0 

Example

 tcp_recv_bufsize 8 kb 
 < Day Day Up > 


Squid
Squid: The Definitive Guide
ISBN: 0596001622
EAN: 2147483647
Year: 2004
Pages: 401
Authors: Duane Wessels

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net