When disconnecting from WebSphere MQ with C # client connections, the client is still in CLOSE_WAIT state

I am disconnecting from MQQueue and MQQueueManager with the following code:

Queue.Close ();
log.Info ("Queue IsOpen:" + Queue.IsOpen.ToString ());
Queue = null;

QueueManager.Disconnect ();
QueueManager.Close ();
log.Info ("QM IsOpen:" + QueueManager.IsOpen.ToString ());
log.Info ("QM IsConnected:" + QueueManager.IsConnected.ToString ());
QueueManager = null;

And I get the following log entries for this:

Queue IsOpen: false
QM IsOpen: false
QM IsConnected: false

But a few hours after running the netstat -n command from the command line, I get a long list of connections to the MQ server, and the status in these connections is CLOSE_WAIT .

, TCP- ? ? , .

WebSphere MQ 6.0.2.6, .NET - MQ 7.

+3
1

WebSphere MQ 6.0 7.0, . , v7 TCP . , TCP Keepalive Windows, v7 . WebSphere MQ.

, . , WM7 V7 , README Fix Pack APAR, , .. # .Net, / , .

, , TCP Keepalive , . , . , . . Fix Pack 7.0.1.2 ( ) , . PMR. , .

+1

Source: https://habr.com/ru/post/1750484/


All Articles