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
Next revision
Previous revision
Last revision Both sides next revision
cookbooks:3.3.x:core [2012/10/21 17:44]
oej [alias] Adding auto_bind_ipv6
cookbooks:3.3.x:core [2013/01/02 17:56]
klaus3000 [tcp_rd_buf_size]
Line 1200: Line 1200:
  
 ===== DNS Parameters ===== ===== DNS Parameters =====
 +
 +Note: See also file doc/dns.txt for details about Kamailio's DNS client.
  
 SIP-Router has an internal DNS resolver with caching capabilities. If this caching resolver is activated (default setting) then the system's stub resolver won't be used. Thus, also local name resolution configuration like /etc/hosts entries will not be used. If the dns cache is deactivated (use_dns_cache=no), then system's resolver will be used. The DNS failover functionality in tm module references directly records in the DNS cache (which saves a lot of memory) and hence DNS based failover only works if the internal DNS cache is enabled. SIP-Router has an internal DNS resolver with caching capabilities. If this caching resolver is activated (default setting) then the system's stub resolver won't be used. Thus, also local name resolution configuration like /etc/hosts entries will not be used. If the dns cache is deactivated (use_dns_cache=no), then system's resolver will be used. The DNS failover functionality in tm module references directly records in the DNS cache (which saves a lot of memory) and hence DNS based failover only works if the internal DNS cache is enabled.
Line 1540: 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