Configuring the keepalive setting
The net.ipv4.tcp_keepalive_time
parameter controls how long an
application will let an open TCP connection remain idle. By default, this value is 7200
seconds (2 hours).
For optimal Black Duck performance, this parameter should have a value between 600 and 800 seconds.
This setting can be configured before or after Black Duck is installed.
To edit the value:
-
Edit the
/etc/sysctl.conf
file. For example:vi /etc/sysctl.conf
You can also use the
sysctl
command to modify this file. -
Add the
net.ipv4.tcp_keepalive_time
(if the parameter is not in the file) or edit the existing value (if the parameter is in the file).net.ipv4.tcp_keepalive_time = <value>
-
Save and exit the file.
-
Enter the following command to load the new setting:
sysctl -p
-
If Black Duck is installed, restart it.