Operating System - HP-UX
1829767 Members
6240 Online
109992 Solutions
New Discussion

Re: Telnet session timeout

 
shasha_1
Super Advisor

Telnet session timeout

Users are logging in to our HP-UX 11i Server and are experiencing timeouts when their session has been idle for a long time. I have read in this forum that you can set timeouts through the variable TMOUT. I looked at the current value of this variable and it is 0 meaning, no timeout. But why is it that users are still logged off?
3 REPLIES 3
Devesh Pant_1
Esteemed Contributor

Re: Telnet session timeout

Donna,
why don't you remove the variable TMOUT completely instead of setting it to a 0

One more thing to look into would be the network switch settings. I know some switches have a TCP timeout value and that if not fixed causes the telnet disconnects.

thanks
DP
Jino.P.V
Frequent Advisor

Re: Telnet session timeout

Hi Donna,
If TMOUT option is not working there is a parameter tcp_keepalive_interval which need to be changed in /etc/rc.config.d/nddconf.Setting this parameter to a
couple of minutes may help to resolve the problem by automatically closing non-
responding connections. It will NOT impact sessionos or connection which are
just idle for long periods of time. To drop idle sessioon try using the shell
variables such a TMOUT.
The /etc/rc.config.d/nddconf file contains information on what value to use. Set this to 60000 for
each minute of delay, for instance a value of 240,000 will correspond to 4
minutes. Be aware that this may generate some small amount of extra network
traffic on otherwise idle connections.Next, edit the file to have the comment mark "#" removed and NDD_VALUE[0]
=240000 (or 120000 for 2 minutes):

TRANSPORT_NAME[0]=tcp
NDD_NAME[0]=tcp_keepalive_interval
NDD_VALUE[0]=120000
After saving give a command "ndd -c". It will change the parameter without rebooting.

Hope this helps.

regds
Jino
Fabio Ettore
Honored Contributor

Re: Telnet session timeout

Hi Donna,

I think too about a keepalive parameter problem, otherwise check together the newtork people if firewall or something else devices have timeout setting. On HP-UX system (as far as I know) there aren't other settings more than TMOUT and keepalive.

Anyway have you this behaviour just for telnet service? Or do you see that for other services like ftp?

Best regards,
Fabio




WISH? IMPROVEMENT!