UCX and dangling sockets

From: Gerald Marsh (gerald-_at_-cyfer-remove_this.demon.co.uk)
Date: 07/13/04


Date: Tue, 13 Jul 2004 21:22:59 +0100

Aarrgghhhh!

A few times we've seen situations where a TCP connection attempts
fails with "address in use" - error 48, I think.

It usually occurs when attempting to start a Roboeda listener on port
5050 (Again, I think). I'm quite sure that we've seen the same effect
with other connecting software when they are not set up as services.

The symptoms are that the listener process dies with the address is
use error but, if we leave the thing about two hours, the process is
created ok. I haven't got the accounting record to hand but it exists
with a strange status of something like:
%SYSTEM-?-DEVMNTFOR, device mounted foreign

A TCPIP SHO DEVICE does not show any socket attached to the affected
port.

I know that the address referred to is a combination of IP address,
protocol and port so I wonder if that is why I cannot see it.

In desparation I tried the TCP extensions to SDA but that showed
nothing either.

All the timers I think could be involved are measured in seconds; the
longest I've seen is about 10 minutes.

I suspect the timeout is under program control but why can't I see the
BG device?

I think that MQueue has also been similarly afflicted in the past but
thankfully that hasn't happened for a long time.

If anyone has any ideas on how to decrease the timer or how to clear
the port, I would be very grateful. It is really annoying when you
cannot fix a problem for two hours!

Thank you in eager anticipation and keep the VMS flag a'flying!

Gerald.



Relevant Pages

  • Re: TCP connection to MAC address
    ... you have no way of communicating with it on the network. ... > would like to write a small utility where I can simply enter the MAC ... > Basically it looks like creating a TCP connection on port 1, ... > port 80 to do an HTTP POST and set the IP address. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: bind() function
    ... the system generally is allowed to select an unused port number. ... one for each TCP connection. ... not client, client can choose whatever port that is not occupied. ... Because the default route is pointing to the wrong interface. ...
    (comp.unix.programmer)
  • Re: Problem printing through firewall
    ... While a job is lingering in the print queue, ... > to setup a TCP connection to the printer on port 515. ... > all telnetting to the printer on port 515 from the HP-UX machine). ... When two print jobs are sent ...
    (comp.sys.hp.hpux)
  • Re: ModSSL - Knoppix 3.3
    ... if, as you stated, you can indeed establish a tcp connection to ... port 443 from a remote client and the server shows connection ... most likely not a firewall issue but probably an apache server ... After you add an ErrorLog directive, telnet to port 443 from a remote ...
    (Focus-Linux)
  • Re: Multiple local ports in system.net.sockets class
    ... service use multiple 'conversations' within the single IP connection. ... using a different local port will by definition require a new TCP connection. ... Knowing what "Dart" is is not a prerequisite to knowing how to use .NET Sockets, and so you are unnecessarily limiting your potential audience by comparing your problem to something "like Dart". ...
    (microsoft.public.dotnet.languages.csharp)