Setting TCP keep alive values
#1
Sun, 2017-04-30 21:55
Chamara.G
-
- Offline
- 11 months 5 days ago
- 2017-04-30
Hello, I am trying to set the TCP keep alive values in Alpine Linux 3.5 and running into issues. The values are not present in /proc/sys/net/ipv4 and trying to set them via sysctl.conf gives me this error message:
/var/lib/app # sysctl -p
sysctl: error: 'net.ipv4.tcp_keepalive_time' is an unknown key
/var/lib/app #
background: I have an app that is running in an Alpine Linux Docker container deployed in AWS. The traffic is going through a NAT Gateway and it drops the connection if it is idle for more than 5 minutes. Therefore, I would like to enable TCP keep alive messages for this container.
Thank you.
+1, i'm facing the same issue with :
Container info :