Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###### Keepalive settings ######
- ############################################
- # ZeroMQ now includes support for configuring SO_KEEPALIVE if supported by
- # the OS. If connections between the minion and the master pass through
- # a state tracking device such as a firewall or VPN gateway, there is
- # the risk that it could tear down the connection the master and minion
- # without informing either party that their connection has been taken away.
- # Enabling TCP Keepalives prevents this from happening.
- #
- # Overall state of TCP Keepalives, enable (1 or True), disable (0 or False)
- # or leave to the OS defaults (-1), on Linux, typically disabled. Default True, enabled.
- #tcp_keepalive: True
- #
- # How long before the first keepalive should be sent in seconds. Default 300
- # to send the first keepalive after 5 minutes, OS default (-1) is typically 7200 seconds
- # on Linux see /proc/sys/net/ipv4/tcp_keepalive_time.
- #tcp_keepalive_idle: 300
- #
- # How many lost probes are needed to consider the connection lost. Default -1
- # to use OS defaults, typically 9 on Linux, see /proc/sys/net/ipv4/tcp_keepalive_probes.
- #tcp_keepalive_cnt: -1
- #
- # How often, in seconds, to send keepalives after the first one. Default -1 to
- # use OS defaults, typically 75 seconds on Linux, see
- # /proc/sys/net/ipv4/tcp_keepalive_intvl.
- #tcp_keepalive_intvl: -1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement