Knowledge Drop

How to adjust system keepalives


Userlevel 2
  • Looker Staff
  • 24 replies

Last tested: Jul 4, 2018
 

In order to comply with our recommended settings for system TCP keepalives, you may need to adjust the values. In order to do so, run the following, you will need to have sudo permisisons.

Open up the file where these settings changes live:

sudo vim /etc/sysctl.conf

add the line:

net.ipv4.tcp_keepalive_time=200

and save the file.

Then in order for those changes to come into effect, run:

sudo sysctl --system

 

This content is subject to limited support.                

 

 


0 replies

Be the first to reply!

Reply