[an error occurred while processing this directive]

HP OpenVMS Systems

Ask the Wizard
» 

HP OpenVMS Systems

OpenVMS information

» What's new on our site
» Upcoming events
» Configuration and buying assistance
» Send us your comments

HP OpenVMS systems

» OpenVMS software
» Supported Servers
» OpenVMS virtualization
» OpenVMS solutions and partners
» OpenVMS success stories
» OpenVMS service and support
» OpenVMS resources and information
» OpenVMS documentation
» Education and training

Quick Links

» Non-javascript page
» Ask the Wizard
» OpenVMS FAQ

Test Drive OpenVMS

» OpenVMS I64 test drive
» Java test drive

Other information resources available to you include:

» OpenVMS freeware
» ECO kits, software and hardware support, prior version support
» Alpha SRM, ARC, and AlphaBIOS firmware updates
» ENCOMPASS - HP user group
» OpenVMS software downloads, OpenVMS freeware CD-ROM
» OpenVMS firmware locations
» DECconnect passive adaptor charts
» Cables reference guide
» MicroVAX console commands
» OpenVMS student research

Select a topic below to see Questions Frequently Asked by partners

» Using the online documentation library(installing BNU from the asap SDK)
» Global sections(how to create and use.)
» xx$CREATE_BUFOBJ system service(usage)
» Ethernet address(methods of determination)
» Shareable images(cookbook approach to creating one)
» Sharing data/code at absolute addresses(a guide with examples)
» Determining the Alpha microprocessor
» Using GETSYI to get hardware status

Evolving business value

» Business Systems Evolution
» AlphaServer systems transition planning
» Alpha RetainTrust program

Related links

» HP Integrity servers
» HP Alpha systems
» HP storage
» HP software
» HP products and services
» HP solutions
» HP support
disaster proof
HP Integrity server animation
HP Integrity server animation
Content starts here

Ask the Wizard Questions

UCX: Telnet questions

The Question is:

Telnet sessions from HP workstations or  PC's using KEATERM.

VMS 6.1 does not drop the telnet session if abruptly logged
off, such as a power failure or PC reboot. The user can log
in again but he has two sessions active although only one is
valid.  I would think vms would be able to determine an inactive
session and terminate. This is causing a frequent trouble
of user limit exceeded. I cannot increase the user limit due
to system resources. The proper fix would be for VMS to idendify
that the lost TELNET session  and kill that process. Any ideas??


The Answer is:


      The behaviour you describe is a feature of IP protocol. One of the
    reasons IP is often claimed to be "more efficient" than DECnet is that,
    unlike DECnet, IP does not "monitor" the link, periodically checking
    that both ends are still alive.  If an application attempts to use the
    link, after it's broken, it will receive an error. It's then up to the
    application to do somethine about it. However if there are no requests
    made, the application doesn't know the link has gone. In your case, an
    I/O has been posted, but it won't time out. This is both an advantage and
    a disadvantage. For example, you may be able to break a link (say hang up
    a  modem), then later reestablish it, without the "participants" knowing.

      The disadvantage is that all applications which use the network must
    implement their own timeout/retry/abort/whatever algorithms or you can
    end up with processes which hang around unaware that their network
    partner has gone away. TELNET is an example of an application which
    doesn't perform such checks.

      However, all is not lost if you are using UCX for TCP/IP. You can
    configure your TELNET sessions to use virtual terminals with the
    command:

    	$ UCX SET COMMUNICATION/REMOTE_TERMINAL=VIRTUAL

    The effect is that your physical TNAxx terminals will be placed
    "behind" a VTAxx device. OpenVMS will detect any disconnections. The
    TNAxxx process will be deleted after (SYSGEN) TTY_TIMEOUT seconds
    unless the user logs in again, in which case they will be given the
    option to reconnect to their existing session and pick up where they
    left off (very handy if your PC crashes or modem drops in the middle of
    a 2 hour edit session!).

      The default TTY_TIMEOUT is 15 minutes. You can adjust it up or down
    dynamically according to your needs.