ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexGeneral IBM MQ SupportMQ WCF connections

Post new topicReply to topic
MQ WCF connections View previous topic :: View next topic
Author Message
zpat
PostPosted: Wed Jun 24, 2020 1:36 am Post subject: MQ WCF connections Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5716
Location: UK

We have an application that uses WCF to connect to MQ. This seems to be like a .NET unmanaged connection.

The version of MQ client is 9.0.5. QM version is 9.0.0.0 (z/OS)

It seems that each of the WCF hosts gets 5 active SVRCONN connections and that SHARECNV is shown as 1 on channel status (even though defined as 10 in the QM channel definition).

Anyone know if there is a connection pool size default in WCF and where to set it?

Also would enabling shared conversations in the code (setAllowSharedConversations) be a good idea to reduce the number of connections?
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
hughson
PostPosted: Wed Jun 24, 2020 2:31 pm Post subject: Re: MQ WCF connections Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1504
Location: Bay of Plenty, New Zealand

zpat wrote:
It seems that each of the WCF hosts gets 5 active SVRCONN connections and that SHARECNV is shown as 1 on channel status (even though defined as 10 in the QM channel definition).

Also would enabling shared conversations in the code (setAllowSharedConversations) be a good idea to reduce the number of connections?

If shared conversations is not enabled at the client side, then you will never see more than CURSHCNV(1) on the SVRCONN. If you want conversation sharing to reduce the number of channels, I suggest it would indeed be a good idea to enable shared conversations on the client side.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
zpat
PostPosted: Thu Jun 25, 2020 12:05 am Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5716
Location: UK

Thanks.

There does not seem to be any exposed method in WCF to enable shared conversations.

I've opened a PMR to see if IBM support have any suggestions on how to do it.

Would still like to know where the 5 connections comes from though.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
hughson
PostPosted: Thu Jun 25, 2020 3:57 am Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1504
Location: Bay of Plenty, New Zealand

zpat wrote:
Would still like to know where the 5 connections comes from though.


Presumably it does 5 x MQCONN(X) calls.

You could use DISPLAY CONN to see a bit more about them, which objects they use etc.

Or you could go further and use Application Activity Trace to view exactly what they do.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
zpat
PostPosted: Fri Jun 26, 2020 11:21 pm Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5716
Location: UK

AAT not on z/OS.

So many things are missing from MQ on z/OS - it's beyond a joke.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
hughson
PostPosted: Sat Jun 27, 2020 9:49 pm Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1504
Location: Bay of Plenty, New Zealand

zpat wrote:
AAT not on z/OS.


Sorry, I missed the note that the queue manager was z/OS. Suggest you capture MQI GTF trace (available long before AAT and solves the same problem).

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
zpat
PostPosted: Mon Jun 29, 2020 4:02 am Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5716
Location: UK

GTF trace - sounds very cryptic.... there is a RFE to add AAT to z/OS MQ

http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=56321

Please vote early...
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Jun 29, 2020 7:09 am Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 8795
Location: US: west coast, almost. Otherwise, enroute.

zpat wrote:
GTF trace - sounds very cryptic....

MVS GTF (Generalized Trace Facility) was once described as the universes most complicated (feature-rich) Swiss Army Knife.
_________________
My life flows on in endless song;
How can I keep from singing?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jun 29, 2020 7:26 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26062
Location: Texas, USA

zpat wrote:
So many things are missing from MQ on z/OS - it's beyond a joke.


If there's something missing from z/OS:

- you don't need it
- you wouldn't want it




_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Mon Jun 29, 2020 5:54 pm Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2173
Location: Melbourne, Australia

Vitor wrote:
zpat wrote:
So many things are missing from MQ on z/OS - it's beyond a joke.

If there's something missing from z/OS:
- you don't need it
- you wouldn't want it


I thought about, and decided I'm not going to touch that one. We live in our own worlds... My past world included z/OS and iSeries.
_________________
Glenn
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral IBM MQ SupportMQ WCF connections
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.