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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Telnet Questions

Status
Not open for further replies.
Nov 26, 2001
30
US
Hello All,

We have a Solaris 5.9 box that drops connections after a few minutes of inactivity, when connected via our VPN. After a few minutes the telnet connection drops, but the VPN stays up. Connections to Windows machines stay operational, its just remote connections (SQLPLUS, Telnet) to the Solaris machines that crap out after a few minutes of inactivity.

Any thoughts would be extremely helpful. Thanks in Advance
 
have you ever "truss"ed the ftpd to find out about this?
How long is the inactivity time till you crap out? About 4 Minutes? This might be the tcp_keepalive_interval
-> ndd -get /dev/tcp tcp_keepalive_interval # returns timeout in miliseconds
-> set this with
# ndd -set /dev/tcp tcp_keepalive_interval 2xreturnvalue
to twice the size

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
daFranze,

Thanks for the input. The tcp_keepalilve_interval is set to 7200000, which, if im not mistaken is 2 hours. Does that sound right??

Also, I'm not sure what you mean by 'truss' the ftpd. Could you elaborate??

Thanks for the help, and patience. I'm still getting my feet wet in the UNIX world.


 
yes 7200000 is 2h (if I calculate correctly ;-))

truss is a utility to watch a process activity.

truss -p 1

would show you the activities of the init Process (id 1) see man truss, it is a very powerfull utility...

Another helpfull tool may be "snoop", which shows you the network activity, it may show you who initiates the disconnect...

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top