Ask Your Question
0

TCP Keep-Alive on Linux - 10 seconds

asked 2019-08-01 18:47:46 +0000

robcar gravatar image

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-08-02 04:05:35 +0000

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

edit flag offensive delete link more

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 gravatar imagerobcar ( 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 gravatar imageJim Aragon ( 2019-08-06 11:29:16 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-08-01 18:47:46 +0000

Seen: 460 times

Last updated: Aug 02 '19