Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SCO Telnet Keepalive, Children wont close

Status
Not open for further replies.

muxdata

IS-IT--Management
Apr 5, 2002
1
CA
I have changed the default keepalives on telnetd as follows:
telnetd -h -k 300 -K 60 -N 5
When the timeouts are reached, the telnetd session closes but none of the children close. This leaves hundreds of unattached processes. Particularly annoying when some of the processes are locking the database.
SCO Openserver version 5.0.5.

 
From
I see in netstat that processes get stuck in TIME_WAIT for a long time. How can I change this behaviour?

For some reason, OpenServer sets that to 30 minutes even while stating that the recommended setting is 4 minutes!

You can edit /etc/default/inet and change tcp_2msl to lower the time. Stop and restart tcp/ip or reboot.

Tony Lawrence
SCO Unix/Linux Resources tony@pcunix.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top