TotalNET Advanced Server 5.2 Administration Guide

Invalid connections in "tninfo" report

The output of tninfo shows a connection that does not exist. The tninfo report normally shows only one connection per Ethernet address. Occasionally, a duplicate may list when the server has not yet recognized a connection termination. An ungraceful disconnection by the client, as when the client turns off the PC or reboots without logging out, usually causes this.

To detect dead connections, enable the keepalive function for the LM-NT-OS/2 and NetWare realms. This tells the server to send keepalive packets, similar to Novell watchdog packets, to determine whether clients remain attached. After sending the first keepalive packet, the server sends another packet every minute for 10 minutes. If it receives no response during this time, the server assumes that the connection died and updates the connection database accordingly. The client no longer lists in the tninfo report.

Follow these links to enable keepalives:

For Keepalive, enter the number of minutes you want to have between dispatches of keepalive packets.

To enable keepalives from the UNIX command line, use the following command, where n represents the number of minutes for the server to wait after a connection establishes before sending the first keepalive packet:


tnservice -M -r NW -s nwhera:file -a keepalive=n