First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

TCP Keep-Alive on Linux - 10 seconds

Hello, Just out of curiosity, on a linux box (Ubuntu 18.04) what triggers a TCP Keep-Alive every 10 seconds? The value that I got from /proc/sys/net/ipv4/tcp_keepalive_intvl is 75 seconds. Thank you in advance. Roberto

robcar's avatar
5
robcar
asked 2019-08-01 18:47:46 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Hello, What application is this? Check its settings/configuration. I guess application could override system-wide value.

Packet_vlad's avatar
1.1k
Packet_vlad
answered 2019-08-02 04:05:35 +0000
edit flag offensive 0 remove flag delete link

Comments

While browsing via HTTPS (TLSv1.2) for instance to https://www.theguardian.com. I see occurrences of keepalives from my host every 10 s, for every TCP stream.

I think you're right; it could be the HTTP keepalive directive on the webserver; I'll do some experiments with an Apache web server.

Thanks for pointing me in (what appears to be) the right direction.

robcar's avatar robcar (2019-08-02 07:27:36 +0000) edit

HTTP keepalives and TCP keepalives are unrelated. See https://stackoverflow.com/questions/9334401/http-keep-alive-and-tcp-keep-alive for an explanation of the difference.

Jim Aragon's avatar Jim Aragon (2019-08-06 11:29:16 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer