RP/TUX 7.1, TUX 8.0, TUX 8.1 - Domain gateway socket connection leak (Doc ID 773308.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Tuxedo / Tuxedo / 7.1, 8.0, 8.1
Information in this document applies to any platform

Goal

Incoming connections are established from an ON_STARTUP (client) to an INCOMING_ONLY (server).  In the case of the
network going up and down at high rate, domain gateway socket connections leak, netstat shows lots of established
connection between gateways.  The cause is, If there are lots of connection requests coming in at the same time, at
some point there may exist more than one connection entry ( with same remote domain ) in the alldata link list
(GWNW_DATA_T),  but the extra one will be deleted if network is up when the connection eventually is accepted.  Now,
if the network is disconnected at this time, the server domain does not know the network is gone, and no further event
is coming in for gateway to finish the connection establish. So the connection entries stay in the list.  Later when
network goes back again, new connection requests come and established, and gateway drops the old existing one found in
the list, once find the first one, it close the connection and break without loop further for the second one ( see
function gw_nw_fdConnectionAccepted() in gwnw_subs.c).  As a result, the socket connection between domains pile up
eventually.

CONFIGURATION:
TUX7.1, TUX8.0, TUX8.0 on HP11i

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms