Author |
Message
|
zpat |
Posted: Wed Jun 24, 2020 1:36 am Post subject: MQ WCF connections |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
hughson |
Posted: Wed Jun 24, 2020 2:31 pm Post subject: Re: MQ WCF connections |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 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 |
|
 |
zpat |
Posted: Thu Jun 25, 2020 12:05 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
hughson |
Posted: Thu Jun 25, 2020 3:57 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 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 |
|
 |
zpat |
Posted: Fri Jun 26, 2020 11:21 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
hughson |
Posted: Sat Jun 27, 2020 9:49 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 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 |
|
 |
zpat |
Posted: Mon Jun 29, 2020 4:02 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Jun 29, 2020 7:09 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
zpat wrote: |
GTF trace - sounds very cryptic.... |
MVS GTF (Generalized Trace Facility) was once described as the universe’s most complicated (feature-rich) Swiss Army Knife. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jun 29, 2020 7:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 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 |
|
 |
gbaddeley |
Posted: Mon Jun 29, 2020 5:54 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 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 |
|
 |
|