User Tools

Site Tools


cookbooks:devel: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
cookbooks:devel:core [2019/06/02 12:05]
ali [Values]
cookbooks:devel:core [2019/08/20 14:32] (current)
miconda [tcp_connection_lifetime]
Line 753: Line 753:
 ==== bind_ipv6_link_local ==== ==== bind_ipv6_link_local ====
  
-Try to bind link local IPv6 addresses. Default is 0.+If set to 1, try to bind also IPv6 link local addresses ​by discovering the scope of the interface. This apply for UDP socket for now, to be added for the other protocols. Default is 0.
  
 Example: Example:
Line 1030: Line 1030:
 ==== latency_limit_db ==== ==== latency_limit_db ====
  
-Limit of latency in ms for db operations. If a db operation executed via DB API v1 takes longer that its value, a message is printed in the logs, showing the first 50 characters of the db query.+Limit of latency in us (micro-seconds) ​for db operations. If a db operation executed via DB API v1 takes longer that its value, a message is printed in the logs, showing the first 50 characters of the db query.
  
  
Line 1467: Line 1467:
 <​code>​ <​code>​
 pv_buffer_slots=12 pv_buffer_slots=12
 +</​code>​
 +
 +==== pv_cache_limit ====
 +
 +The limit how many pv declarations in the cache after which an action is taken. Default value is 2048.
 +
 +<​code>​
 +pv_cache_limit=1024
 +</​code>​
 +
 +==== pv_cache_action ====
 +
 +Specify what action to be done when the size of pv cache is exceeded. If 0, print an warning log message when the limit is exceeded. If 1, warning log messages is printed and the cache systems tries to drop a $sht(...) declaration. Default is 0.
 +
 +<​code>​
 +pv_cache_action=1
 </​code>​ </​code>​
  
Line 1982: Line 1998:
  
 Please note that enabling this option will reject any inbound TCP connection that does not conform to the PROXY-protocol spec. Please note that enabling this option will reject any inbound TCP connection that does not conform to the PROXY-protocol spec.
 +
 +For reference: A PROXY protocol - https://​www.haproxy.org/​download/​1.8/​doc/​proxy-protocol.txt
  
 Default value is **no**. Default value is **no**.
Line 2009: Line 2027:
 </​code>​ </​code>​
  
 +==== tcp_accept_unique ====
 +
 +If set to 1, reject duplicate connections coming from same source IP and port.
 +
 +Default set to 0.
 +
 +<code c>
 +tcp_accept_unique = 1
 +</​code>​
 ==== tcp_async ==== ==== tcp_async ====
  
Line 2047: Line 2074:
     tcp_connection_lifetime=3605     tcp_connection_lifetime=3605
  
 +==== tcp_connection_match ====
 +
 +If set to 1, try to be more strict in matching outbound TCP connections,​ attempting to lookup first the connection using also local port, not only the local IP and remote IP+port.
 +
 +Default is 0.
 +
 +<code c>
 +tcp_connection_match=1
 +</​code>​
 ==== tcp_connect_timeout ==== ==== tcp_connect_timeout ====
  
cookbooks/devel/core.1559469955.txt.gz ยท Last modified: 2019/06/02 12:05 by ali