Regarding to tcp_keepalive parameter

Hi,

I want to know about “tcp_keepalive” parameter.

If we configure it to true, how often does the keep alive packet send ?

Thank you.

Which parameter are you specifically talking about?

ZThank you.
I refer to “Input” definition.

======
allow_override_date: true
bind_address: 0.0.0.0
expand_structured_data: false
force_rdns: false
max_message_size: 2097152
override_source:
port: 9514
recv_buffer_size: 1048576
store_full_message: false
tcp_keepalive: true
tls_cert_file: /var/lib/graylog-server/tls/server.pem
tls_client_auth: disabled
tls_client_auth_cert_file:
tls_enable: true
tls_key_file: /var/lib/graylog-server/tls/server.p8
tls_key_password: ********
use_null_delimiter: false

1 Like

The tcp_keepalive setting simply sets the SO_KEEPALIVE option on the TCP sockets opened by this input.

The specific details are up to the operating system, for example on Linux you can use sysctl to configure them. See http://www.tldp.org/HOWTO/html_single/TCP-Keepalive-HOWTO/#usingkeepalive for details.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.