Re: Telnet connections - the connection drops, the process doesn't die!



On Apr 10, 11:29 am, etmsr...@xxxxxxxxxxx wrote:
Hiya,

We have a client using OpenVMS v8.3 on Integrity running TCP/IP
Services v5.6 ECO2.  Our connection goes over a line that disconnects
idle sessions after 30 minutes.  this part works well, but it seems
that VMS doesn't terminate the process in the case of a telnet session
that gets disconnected.  Over time, there are dozens of processes left
lying around with no terminal attached to them.

Similarly, we have a client with OpenVMS v7.3-1 on Alpha with V5.3 Eco
4 which has users on the local LAN which get left with "ghost"
sessions - the process is still there on the Alpha but the terminal
device has gone away.

Anyone got any ideas how this can be resolved?  I've tried setting the
socket options to nokeepalive but this doesn't appear to do the trick.

Thanks in advance

Steve

I don't have your cure, but, you state that you disabled keepalives -
to catch broken connections you actually want to enable them in order
so that your system will send out keepalive probes. When these
keepalive probes repeatedly go unanswered the connection should be
disconnect (if the stack behaves correctly). Typically the default
behavior of keepalives is that after 2 hours of inactivity probes are
sent out on a 75 second interval - and if 10 consecutive probes are
unanswered the connection is declared dead and terminated. If any
probe is answered then the 2 hour idle timer begins again.
.



Relevant Pages

  • Re: When not to log
    ... >> never get any probes during the 5-20 minutes of collecting mail and news, ... Connection from unprivileged to my 80? ... Is it impossible for a compromised web server to pass client IPs ...
    (comp.os.linux.security)
  • Re: Error message, "Terminal Services Client Disconnected"
    ... >unfortunately the registry file that it talked about ... >stabilize the connection by sending 'heartbeat' packets to ... >killing off sockets that it assumes to be idle. ... and thus will terminate the socket. ...
    (microsoft.public.win2000.termserv.apps)
  • Re: Class Inherits
    ... The data I wanna draw is a number of probes that are connected to the ... a set of routers that are connected to a set of servers. ... My plan is to read information from a database(ADODB Connection). ...
    (microsoft.public.visio.developer.vba)
  • Re: "Ghost" data file connections (Perv8 on NW)
    ... There are several ways to terminate a connection: ... from the watchdog process. ... The workstation MUST acknowledge the watchdog packet. ...
    (comp.databases.btrieve)
  • Re: Abnormally dropped sessions & running programs
    ... by clicking on the close window button or killing it through Task ... TCP/IP connection to the server via a virtual workstation ... terminate the interactive process is via SIGNOFF or ENDJOB at the ... This java program is trivial and does not represent one of our typical ...
    (comp.sys.ibm.as400.misc)

Loading