18.07.2014 Views

Novell eDirectory 8.8 Troubleshooting Guide - NetIQ

Novell eDirectory 8.8 Troubleshooting Guide - NetIQ

Novell eDirectory 8.8 Troubleshooting Guide - NetIQ

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

These parameters are available in /proc/sys/net/ipv4/ directory.<br />

• tcp_keepalive_time: Determines the frequency of sending the TCP keepalive packets to keep a<br />

connection alive if it is currently unused. This value is used only when keepalive is enabled.<br />

The tcp_keepalive_time takes an integer value in seconds. The default value is 7200 seconds or<br />

2 hours. This holds good for most of the hosts and does not require many network resources. If<br />

you set this value to low, it engages your network resources with unnecessary traffic.<br />

• tcp_keepalive_probes: Determines the frequency of sending TCP keepalive probes before<br />

deciding a broken connection.<br />

The tcp_keepalive_probes takes an integer value, recommended less than 50 depending on<br />

your tcp_keepalive_time and the tcp_keepalive_interval values. The default is to set to 9 probes<br />

before informing the application of the broken connection.<br />

• tcp_keepalive_intvl: Determines the duration for a reply for each keepalive probe. This value<br />

is important to calculate the time before your connection has a keepalive death.<br />

The tcp_keepalive_intvl takes an integer value, the default is 75 seconds. So, 9 probes with 75<br />

seconds each will take approximately 11 minutes. The default values of the<br />

tcp_keepalive_probes and tcp_keepalive_intvl variables can be used to evaluate the default<br />

time before the connection is timed out because of keepalive.<br />

novdocx (en) 22 June 2009<br />

Modify these three parameters in a way that the change does not generate a lot of extra network<br />

traffic and still solves the problem. A sample modification could be as follows (a 3-minute detection<br />

time):<br />

• tcp_keepalive_time set -120<br />

• tcp_keepalive_probes - 3<br />

• tcp_keepalive_intvl - 20<br />

NOTE: Be careful with the parameter settings and avoid setting the already valid connections.<br />

The settings take effect immediately after the files are modified. You need not restart any services.<br />

However, the settings are valid for the current session only. Once the server is re-booted, the settings<br />

revert to the default settings.<br />

To make the setting permanent (even after a reboot), do the following:<br />

Add the following entries in /etc/sysctl.conf.<br />

• net.ipv4.tcp_keepalive_time=120<br />

• net.ipv4.tcp_keepalive_probes=3<br />

• net.ipv4.tcp_keepalive_intvl=20<br />

We recommend these settings only if all the clients and servers are connected through LAN.<br />

Miscellaneous 111

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!