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
0, 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
|
|