User Tools

Site Tools


cookbooks:3.3.x:core

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
cookbooks:3.3.x:core [2012/11/05 14:55]
klaus3000 [DNS Parameters]
cookbooks:3.3.x:core [2013/01/02 17:56]
klaus3000 [tcp_rd_buf_size]
Line 1542: Line 1542:
 ==== tcp_rd_buf_size ==== ==== tcp_rd_buf_size ====
  
-Buffer size used for tcp reads. A high buffer size increases performance on server with few connections and lot of traffic on them, but also increases memory consumption (so for lots of connection is better to use a low value). Note also that this value limits the maximum datagram size that can be received over tcp.+Buffer size used for tcp reads. A high buffer size increases performance on server with few connections and lot of traffic on them, but also increases memory consumption (so for lots of connection is better to use a low value). Note also that this value limits the maximum message size (SIP, HTTP) that can be received over tcp. 
  
-Default: 4096can be changed at runtime.+The value is internally limited to 16MBytefor higher values recompile Kamailio with higher limit in tcp_options.c (search for "rd_buf_size" and 16777216). Further, you may need to increase the private memory, and if you process the message stateful you may also have to increase the shared memory.
  
 +Default: 4096, can be changed at runtime.
  
 ==== tcp_send_timeout ==== ==== tcp_send_timeout ====
cookbooks/3.3.x/core.txt ยท Last modified: 2014/05/31 13:36 by mslehto