Expire Dead Connections

From WiDirect
Jump to: navigation, search

Sometimes a user’s connection data counters will report no traffic even though the user has been on for a while. While these connections are not a problem, it makes the active users page look better to have these extra connections removed. There is a setting to log these connections out quicker than the idle timer if that is desired. Run this command from the command line:

sudo emacs /root/AWICP/bin/awicp_manager.pl

Look for a line that says “my $MAX_DEAD_SECONDS = 0;” Change the 0 to the number of seconds a connection with 0 data should be allowed to stay open.