<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: VMS processes left hanging in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372770#M93704</link>
    <description>We had a similar problem - users walking out of wireless range while logged in - and fixed it by setting the Telnet keepalive timer to 10 minutes. We use Multinet which allows a different keepalive setting for each TCP/IP service (that's probably true of all IP stacks) and Extra! Personal Client on the PCs. Seems to work fine for us.&lt;BR /&gt;&lt;BR /&gt;Kelly</description>
    <pubDate>Mon, 09 Mar 2009 12:55:02 GMT</pubDate>
    <dc:creator>Kelly Stewart_1</dc:creator>
    <dc:date>2009-03-09T12:55:02Z</dc:date>
    <item>
      <title>VMS processes left hanging</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372756#M93690</link>
      <description>A user, using a docked laptop, opens up a session to my Itanium system (bl860c, OpenVMS 8.3-1H1, Tcpip Services 5/6 ECO 3), through a terminal emulator such as Reflections, and logs in.&lt;BR /&gt;&lt;BR /&gt;Subsequently, it is necessary for them to undock, automatically switching them to Wireless, and dropping their telnet sessions as a new IP is acquired.&lt;BR /&gt;&lt;BR /&gt;When they attempt to reconnect, the connection fails because &lt;BR /&gt;&lt;BR /&gt;Username: baxterd &lt;BR /&gt;Password: &lt;BR /&gt;You are at maximum allowed processes for your user name&lt;BR /&gt;&lt;BR /&gt;(This is a company-wide restriction (to 2 sessions per node) to stop licenses being locked up in idle sessions)&lt;BR /&gt;&lt;BR /&gt;The salient point however is that, although undocking caused the telnet sessions to terminate, the VMS processes did/do not hangup, therefore requiring intervention by an admin to remove them.&lt;BR /&gt;&lt;BR /&gt;Is there a System Parameter or TCPIP Sysconfig parameter that can be set to cause these sessions to hang up when the Telnet session terminates???&lt;BR /&gt;&lt;BR /&gt;I know that Virtual Terminals are generally an option, however there have been bad experiences (before my time) here, which takes them off the table, at least for the time being.     I will be more than happy to listen to conversations about Virtual Terminals, however I would really like to concentrate on alternative methods of fixing the problem, if there are any.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
      <pubDate>Thu, 05 Mar 2009 18:51:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372756#M93690</guid>
      <dc:creator>The Brit</dc:creator>
      <dc:date>2009-03-05T18:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: VMS processes left hanging</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372757#M93691</link>
      <description>&amp;gt; cause these sessions to hang up when the Telnet session terminates???&lt;BR /&gt;&lt;BR /&gt;Unless VMS' TCP stack is notified that the other end has disconnected it can't do anything - and evidently this is not occurring. Keepalives are a common method for controlling this but unfortunately Reflection (and many other emulators as well) does not support them directly though I think that you can modify something in the Windows registry to enable/control them.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I would really like to concentrate on alternative methods of fixing the problem&lt;BR /&gt;&lt;BR /&gt;Perhaps a workaround rather than a cure?&lt;BR /&gt;&lt;BR /&gt;Have you considered possibly writing a bit of code - could even be DCL - that would run detached and perhaps PING your terminals' source addresses on some regular cycle and if not responsive take whatever remedial steps your admins currently do to terminate them?&lt;BR /&gt;&lt;BR /&gt;Or perhaps you could have your SYLOGIN determine the maximum number of terminal sesssions the user was permitted, and, if they were exceeding, that offer them the opportunity to terminate one (or more)?&lt;BR /&gt;&lt;BR /&gt;I suspect that there are numerous other ways to deal with this as well. You didn't say what state you find the processes in when the terminal has been disconnected nor how you terminate them. I presume that VMS is fat, dumb, and happy with a process in LEF or HIB and you need only STOP/ID or perhaps issue some database termination command?</description>
      <pubDate>Thu, 05 Mar 2009 21:11:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372757#M93691</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2009-03-05T21:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: VMS processes left hanging</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372758#M93692</link>
      <description>Usually the sessions end up in LEF state. and in general, the response is Stop/ID.&lt;BR /&gt;&lt;BR /&gt;What I don't understand is that we just migrated from Alpha to Itanium and changed stack from TCPWare to TCPIP Services.&lt;BR /&gt;&lt;BR /&gt;Since the migration, this issue has arisen, and also a related issue where Telnet sessions appear to timeout after ~2 hours.   This normally happens if the sessions are idle, however they don't have to be (although I have not seen one drop while actually entering commands).    It is possible that the "timeout" issue is firewall-related.&lt;BR /&gt;&lt;BR /&gt;To return to the initial problem.   I will look into your suggestion of setting up a detached process to watch for dropped sessions, however this seems to be a very risky approach, i.e. could kill an important process.&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
      <pubDate>Thu, 05 Mar 2009 21:46:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372758#M93692</guid>
      <dc:creator>The Brit</dc:creator>
      <dc:date>2009-03-05T21:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: VMS processes left hanging</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372759#M93693</link>
      <description>&amp;gt;  It is possible that the "timeout" issue is firewall-related.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'd bet on it. Leave a telnet session logged in and idle that does not have its connection pass through the firewall and see what happens.</description>
      <pubDate>Thu, 05 Mar 2009 21:52:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372759#M93693</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2009-03-05T21:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: VMS processes left hanging</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372760#M93694</link>
      <description>&amp;gt; I will look into your suggestion of setting up a detached process to watch for dropped sessions&lt;BR /&gt;&lt;BR /&gt;It is possible that the act of PINGing the source of a disconnected telnet session will clue the TCP stack in to the fact that the remote end is gone and drop the telnet session. You might just experiment with PING and wait and see if after a short time - or maybe even immediately - the telnet session drops. You might also try broadcasting something to the session that you suspect is gone. Or maybe use the SHARE privilege to open a channel to it and write something, anything, like a nul character perhaps and that might cause the session to drop.</description>
      <pubDate>Thu, 05 Mar 2009 21:57:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372760#M93694</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2009-03-05T21:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: VMS processes left hanging</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372761#M93695</link>
      <description>Hi Dave.  &lt;BR /&gt;&lt;BR /&gt;Is this related to your earlier ....&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1317706" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1317706&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The use of telnet-based virtual terminals and keepalive settings does look applicable here.</description>
      <pubDate>Thu, 05 Mar 2009 21:59:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372761#M93695</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-03-05T21:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: VMS processes left hanging</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372762#M93696</link>
      <description>I agree with Hoff regarding keepalives being the typical solution for instances like yours (and you should ignore what I wrote previously regarding setting this on the client side - you really only care about whether or not the VMS end can see the PC - and when it doesn't, drop the connection). So you might set the keepalives on the VMS telnet service. But, keepalives might not be timely enough for you if your users expect to disconnect from the docking station and immediately log back in - and decreasing the timeout period to some really small value has the same risks you're concerned with relative to pinging a source port and terminating the associated session if it doesn't answer - momentary network outages might seem like the remote host has disconnected. The stack that I'm most familiar with is MultiNet and by default the keepalive idle time is 2 hours - this means that the keepalive probes don't begin until a connection has been idle for 2 hours and then up to 8 probes are sent every 75 seconds trying to get a response before terminating the connection. &lt;BR /&gt;&lt;BR /&gt;Anyway, maybe you can have your SYLOGIN attempt to contact any connections already owned by someone logging in interactively and if they appear not viable let the user decide whether or not to terminate them. Or maybe just probing them will result in the stack terminating them for you.</description>
      <pubDate>Thu, 05 Mar 2009 23:30:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372762#M93696</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2009-03-05T23:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: VMS processes left hanging</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372763#M93697</link>
      <description>I probably also should have said that use of virtual terminals here seems to be appropriate if you can find a way to get the local stack to recognize that the remote host has been disconnected.</description>
      <pubDate>Thu, 05 Mar 2009 23:33:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372763#M93697</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2009-03-05T23:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: VMS processes left hanging</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372764#M93698</link>
      <description>Thanks Jim, Hoff.&lt;BR /&gt;&lt;BR /&gt;While I agree that VT might be the most appropriate way to go, I am struggling with the problem "This didn't happen before the cutover, and we weren't using VT's then"&lt;BR /&gt;&lt;BR /&gt;I guess my attitude is that we shouldn't have to go that route to stop something that wasn't happening before.&lt;BR /&gt;&lt;BR /&gt;At the moment, I am looking at the settings of &lt;BR /&gt;&lt;BR /&gt;tcp_keepalive_default = 0&lt;BR /&gt;tcp_keepcnt = 8&lt;BR /&gt;tcp_keepidle = 14400&lt;BR /&gt;tcp_keepinit = 150&lt;BR /&gt;tcp_keepintvl = 150&lt;BR /&gt;&lt;BR /&gt;in sysconfig.    These values are the defaults.    In particular, "tcp_keepalive_default = 0" (turned off ???)&lt;BR /&gt;&lt;BR /&gt;would you have any recommendations for appropriate values??&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Fri, 06 Mar 2009 11:43:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372764#M93698</guid>
      <dc:creator>The Brit</dc:creator>
      <dc:date>2009-03-06T11:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: VMS processes left hanging</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372765#M93699</link>
      <description>&amp;gt; would you have any recommendations for appropriate values??&lt;BR /&gt;&lt;BR /&gt;When turning this knob one has to weigh the possibility of terminating a valid process against discovery of no longer viable connections in a timely manner. How quickly do you need to discover that a process has been disconnected? Keepalives are generally not used for rapid response situations. I would expect that your current values, if enabled, are interpretted thusly&lt;BR /&gt;&lt;BR /&gt;tcp_keepidle = 14400&lt;BR /&gt;tcp_keepintvl = 150&lt;BR /&gt;tcp_keepcnt = 8&lt;BR /&gt;&lt;BR /&gt;After 14400 half seconds (2 hours) of idleness, begin sending keepalive polls every 150 half seconds (75 seconds) as many as 8 times hoping to get a response (times are in 500 millisecond or half second units). If this total time passes without a response back then terminate the connection. With this config it would take 2:10 minutes of idle time before a session would drop.&lt;BR /&gt;&lt;BR /&gt;I suspect that tcp_keepalive_default = 0 does indicate that keepalives are "off". That is the default behaviour from most stacks. It is usually enable on an application by application basis - in this instance "telnet".&lt;BR /&gt;&lt;BR /&gt;I do think that enabling keepalives for telnet will help you with catching and terminating disconnected sessions. But, you need to consider the reliablility of your network when lowering these values or risk terminating viable telnet connections. You don't want a short network hiccup to result in all telnet sessions being terminated because they couldn't respond during a too short keepalive idle+intervals duration. If you're trying to catch a disconnect immediately in order to permit a user to disconnect from their docking station and immediately re-connect then this probably isn't the right tool. You want to be fairly conservative in configuring it and be considerate of the health of the networks that your telnet users traverse.</description>
      <pubDate>Fri, 06 Mar 2009 12:46:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372765#M93699</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2009-03-06T12:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: VMS processes left hanging</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372766#M93700</link>
      <description>Given there was an IP stack swap, it seems reasonable to assume that a keepalive was previously implemented and that the setting was lost when the stack switch occurred.&lt;BR /&gt;&lt;BR /&gt;And I'd tend to enable the virtual terminals in any case.</description>
      <pubDate>Fri, 06 Mar 2009 14:43:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372766#M93700</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-03-06T14:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: VMS processes left hanging</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372767#M93701</link>
      <description>The following text is planned for the next release of TCP/IP Services.  It may help clarify a few details.  (This is draft-only).&lt;BR /&gt;&lt;BR /&gt;Virtual Terminals&lt;BR /&gt;=================&lt;BR /&gt;&lt;BR /&gt;Overview&lt;BR /&gt;--------&lt;BR /&gt;Virtual terminals allow a user to seamlessly continue an interactive&lt;BR /&gt;terminal session across a network disconnect.  This is achieved by the&lt;BR /&gt;system saving the virtual terminal's process context at the time of the&lt;BR /&gt;disconnect. When the user establishes a new login session, they will&lt;BR /&gt;be prompted to connect to any pre-existing virtual terminals, and so&lt;BR /&gt;seamlessly continuing their session.&lt;BR /&gt;&lt;BR /&gt;Both TELNET and RLOGIN may be configured to use virtual terminals.&lt;BR /&gt;&lt;BR /&gt;When virtual terminals have been enabled, the user's terminal will now&lt;BR /&gt;appear as a VTA device, rather than a TNA device.  This can be observed&lt;BR /&gt;using the SHOW TERMINAL command.&lt;BR /&gt;&lt;BR /&gt;NOTE: Virtual terminals will not be created for users with&lt;BR /&gt;communication proxies.  The terminal type will continue to be TNA.&lt;BR /&gt;&lt;BR /&gt;Managing Virtual Terminals and Logical Names&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;Follow the steps below to enable and manage virtual terminals:&lt;BR /&gt;&lt;BR /&gt;1) Create the VTA device (if it is not already created)&lt;BR /&gt;&lt;BR /&gt;  The TTDRIVER may be loaded dynamically via:&lt;BR /&gt;&lt;BR /&gt;    $ SHOW DEV VTA0:&lt;BR /&gt;    %SYSTEM-W-NOSUCHDEV, no such device available&lt;BR /&gt;&lt;BR /&gt;   If the VTA0 device does not exist, then create it using SYSMAN:&lt;BR /&gt;&lt;BR /&gt;    $ RUN SYS$SYSTEM:SYSMAN&lt;BR /&gt;    SYSMAN&amp;gt; IO CONNECT VTA0 /NOADAPTER /DRIVER=SYS$TTDRIVER&lt;BR /&gt;&lt;BR /&gt;  The SYS$STARTUP:SYSTARTUP.COM procedure contains the template for&lt;BR /&gt;  loading the TTDRIVER during system startup.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2) Enable virtual terminals for the service&lt;BR /&gt;  For TELNET, use:&lt;BR /&gt;&lt;BR /&gt;    $ DEFINE/SYSTEM/EXEC TCPIP$TELNET_VTA "TRUE"&lt;BR /&gt;&lt;BR /&gt;  For RLOGIN, use:&lt;BR /&gt;&lt;BR /&gt;    $ DEFINE/SYSTEM/EXEC TCPIP$RLOGIN_VTA "TRUE"&lt;BR /&gt;&lt;BR /&gt;  It is recommended this be placed in one of the system startup&lt;BR /&gt;  command procedures, e.g. SYS$STARTUP:TCPIP$SYSTARTUP.COM.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3) Allow Terminal Disconnect when a Hangup Occurs&lt;BR /&gt;&lt;BR /&gt;This is achieved by modifying the SYSGEN parameter, TTY_DEFCHAR2 to&lt;BR /&gt;enable the TT2$M_DISCONNECT feature on the terminal.&lt;BR /&gt;&lt;BR /&gt;  Edit MODPARAMS.DAT to set the TT2$M_DISCONNECT bit.  For example, in&lt;BR /&gt;  MODPARAMS.DAT add a line similar to:&lt;BR /&gt;&lt;BR /&gt;    ! Set AUTOBAUD + EDITING + DISCONNECT.&lt;BR /&gt;    MIN_TTY_DEFCHAR2 = 2 + %X1000 + %X20000&lt;BR /&gt;&lt;BR /&gt;  To take affect, this will require an AUTOGEN and reboot of&lt;BR /&gt;  the system.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4) Disconnected terminals are deleted after TTY_TIMEOUT&lt;BR /&gt;&lt;BR /&gt;Virtual terminals in the disconnected state will be automatically&lt;BR /&gt;deleted after the sysgen TTY_TIMEOUT interval has expired.&lt;BR /&gt;&lt;BR /&gt;By default, the TTY_TIMEOUT value is 900 seconds, (15 minutes).&lt;BR /&gt;This means that after the TCP keepalive has expired and the TCP&lt;BR /&gt;connection closes, the user has an additional 15 minutes to &lt;BR /&gt;reestablish the virtual terminal before it is disconnected.&lt;BR /&gt;If this is inadequate, it may be modified by editing MODPARAMS.DAT&lt;BR /&gt;and using AUTOGEN.  Note that this parameter can be modified&lt;BR /&gt;dynamically.  For example edit MODPARAMS.DAT with a line similar to:&lt;BR /&gt;&lt;BR /&gt; MIN_TTY_TIMEOUT = 60 * 60 * 24 * 14 ! 14 days&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Modifying Disconnect Time&lt;BR /&gt;-------------------------&lt;BR /&gt;When a communication path is broken, the time it takes for TCP connections&lt;BR /&gt;to be closed is affected by several factors.  The network administrator&lt;BR /&gt;can modify the time it takes for TCP to detect a network outage by&lt;BR /&gt;adjusting the keepalive attributes.&lt;BR /&gt;&lt;BR /&gt;Faster detection of network outages may be desirable when using virtual&lt;BR /&gt;terminals.  For instance, after the keepalive timeout, the user can telnet&lt;BR /&gt;back into the system, (probably via another path), to continue working in&lt;BR /&gt;the previously disconnected session.&lt;BR /&gt;&lt;BR /&gt;For more information, refer to the tuning and troubleshooting guide where it&lt;BR /&gt;discusses the keepalive attributes, tcp_keepidle, tcp_keepintvl, tcp_keepcnt.&lt;BR /&gt;Note that these attributes will affect all subsequent connections on the&lt;BR /&gt;system.&lt;BR /&gt;&lt;BR /&gt;To dynamically modify the sysconfig attributes, use:&lt;BR /&gt;&lt;BR /&gt; $ @sys$manager:tcpip$define_commands&lt;BR /&gt; $ sysconfig -r inet tcp_keepalive_default=1 ! Enable keepalives&lt;BR /&gt; $ sysconfig -r inet tcp_keepidle=150 ! 75 seconds&lt;BR /&gt;&lt;BR /&gt;The services must be restarted to make use of these dynamically modified&lt;BR /&gt;attributes.  E.g. to restart TELNET:&lt;BR /&gt;&lt;BR /&gt; $ @SYS$STARTUP:TCPIP$TELNET_SHUTDOWN&lt;BR /&gt; $ @SYS$STARTUP:TCPIP$TELNET_STARTUP&lt;BR /&gt; &lt;BR /&gt;For permanent changes, it is recommended that the sysconfig attributes be&lt;BR /&gt;modified in TCPIP$ETC:SYSCONFIGTAB.DAT.  E.g. add a stanza similar to:&lt;BR /&gt;&lt;BR /&gt; inet:&lt;BR /&gt;  tcp_keealive_default=1&lt;BR /&gt;  tcp_keepidle=150&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Example of Virtual Terminals&lt;BR /&gt;----------------------------&lt;BR /&gt;With virtual terminals enabled, a user's interactive login session&lt;BR /&gt;will display a VTA terminal type.&lt;BR /&gt;&lt;BR /&gt; $ telnet hang10&lt;BR /&gt; Username: rider&lt;BR /&gt; Password: xxxx&lt;BR /&gt;&lt;BR /&gt; HANG10&amp;gt; write sys$output f$getdvi("TT", "DEVNAM")&lt;BR /&gt; _VTA1:&lt;BR /&gt; HANG10&amp;gt; disconnect&lt;BR /&gt;&lt;BR /&gt;By disconnecting the session without logging out, (e.g. close the&lt;BR /&gt;window or issue DISCONNECT), the VTA1: will persist. When a subsequent&lt;BR /&gt;login occurs, the user is prompted to reestablish their connection to&lt;BR /&gt;the virtual terminal, e.g.:&lt;BR /&gt;&lt;BR /&gt; $ telnet hang10&lt;BR /&gt; Username: rider&lt;BR /&gt; Password: xxxx&lt;BR /&gt;&lt;BR /&gt;      You have the following disconnected process:&lt;BR /&gt;  Terminal   Process name    Image name&lt;BR /&gt;  VTA1:      _VTA1:          (none)&lt;BR /&gt;  Connect to above listed process [YES]:&lt;BR /&gt;&lt;BR /&gt;In addition, you may use the DCL commands DISCONNECT and CONNECT.  For&lt;BR /&gt;example:&lt;BR /&gt;&lt;BR /&gt;  $ show device vt&lt;BR /&gt;&lt;BR /&gt;  Device                  Device           Error&lt;BR /&gt;   Name                   Status           Count&lt;BR /&gt;  VTA0:                   Offline              0&lt;BR /&gt;  VTA2:                   Online               0&lt;BR /&gt;  VTA3:                   Disconnected         0&lt;BR /&gt;&lt;BR /&gt;  $ connect vta3&lt;BR /&gt;  HANG10&amp;gt; write sys$output f$getdvi("TT", "DEVNAM")&lt;BR /&gt;  _VTA3:&lt;BR /&gt;&lt;BR /&gt;From this point onward, you are now in the VTA3: process context.&lt;BR /&gt;&lt;BR /&gt;Refer to the DCL help for more information on the CONNECT and&lt;BR /&gt;DISCONNECT commands.&lt;BR /&gt;</description>
      <pubDate>Sun, 08 Mar 2009 23:47:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372767#M93701</guid>
      <dc:creator>Matt Muggeridge</dc:creator>
      <dc:date>2009-03-08T23:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: VMS processes left hanging</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372768#M93702</link>
      <description>Hi Matt,&lt;BR /&gt;&lt;BR /&gt;Thanks for the heads up in the ITRC Forum!&lt;BR /&gt;A few quick question (Sorry Dave for hijacking the topic a little)&lt;BR /&gt;&lt;BR /&gt;1) You mention TELNET and RLOGIN, but not SSH.&lt;BR /&gt;Maybe you want to be explicit about SSH in the article? &lt;BR /&gt;&lt;BR /&gt;2) I often see TT2$M_HANGUP recommended along with TT2$M_DISCONNECT.&lt;BR /&gt;That may be misinformed. And it maybe a cause / effect confusion.&lt;BR /&gt;It maybe good to indicate whether it is relevant or not for a TCP/IP connection.&lt;BR /&gt;&lt;BR /&gt;3) I much like the self-documenting definition:  2 + %X1000 + %X20000&lt;BR /&gt;But why not have the decimal result there as well ( = 135170 ) for the hardcore direct SYSGEN users to set it, but more importantly for folks who want to see whether the current definition matches the recommended definition&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Mar 2009 01:41:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372768#M93702</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2009-03-09T01:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: VMS processes left hanging</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372769#M93703</link>
      <description>&amp;gt;The SYS$STARTUP:SYSTARTUP.COM procedure &amp;gt;contains the template for&lt;BR /&gt;&amp;gt;loading the TTDRIVER during system startup.&lt;BR /&gt;&lt;BR /&gt;Of course, that should have been SYS$STARTUP:SYSTARTUP_VMS.COM.&lt;BR /&gt;&lt;BR /&gt;Matt.&lt;BR /&gt;PS: Thanks to Heins feedback.  We have taken that up in email and I've incorporated feedback where applicable.</description>
      <pubDate>Mon, 09 Mar 2009 03:13:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372769#M93703</guid>
      <dc:creator>Matt Muggeridge</dc:creator>
      <dc:date>2009-03-09T03:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: VMS processes left hanging</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372770#M93704</link>
      <description>We had a similar problem - users walking out of wireless range while logged in - and fixed it by setting the Telnet keepalive timer to 10 minutes. We use Multinet which allows a different keepalive setting for each TCP/IP service (that's probably true of all IP stacks) and Extra! Personal Client on the PCs. Seems to work fine for us.&lt;BR /&gt;&lt;BR /&gt;Kelly</description>
      <pubDate>Mon, 09 Mar 2009 12:55:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-processes-left-hanging/m-p/4372770#M93704</guid>
      <dc:creator>Kelly Stewart_1</dc:creator>
      <dc:date>2009-03-09T12:55:02Z</dc:date>
    </item>
  </channel>
</rss>

