|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Relationship between socket, WAS and MQ connections |
« View previous topic :: View next topic » |
Author |
Message
|
HenriqueS |
Posted: Tue Jun 04, 2013 12:48 pm Post subject: Relationship between socket, WAS and MQ connections |
|
|
 Master
Joined: 22 Sep 2006 Posts: 235
|
Hello,
Whats the relationship between:
a) Outgoing socket connections from my WAS server (from a defined queue connection factory defined with a maximum of channels);
b) Incoming socket connections arriving at my MQ server.
c) Incoming MQ connections arriving at my MQ server and reported with DISPLAY CONN(*)
d) MaxChannels setting on ini file.
I am asking this because I have seen some differences on these numbers.
Example:
Running netstat -a | grep mymqserver | wc -l at my WAS server returns about the same as running netstat -a | grep mywasserver | wc -l at my MQ server. So this is fine.
Running DISPLAY CONN(*) CONNAME | grep mywasserver | wc -l at my MQ server returns a tottally different number, quite big, usually at 10 times the number of socket connections.
So at the very end, how to I calculate the best option for my MaxChannels setting in the ini file ? I noticed that while my WAS server had a queue connections factory allowing at most 150 connections to my MQ server, there were arriving a lot more connections followoing the report with the DISPLAY CONN(*) CONNAME command.
I always thought this was a 1 (socket WAS) to 1 (socket MQ) to 1 (MQ CONN) relation....but it is looking something like 1-1-10 ! |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jun 04, 2013 12:52 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
HenriqueS |
Posted: Wed Jun 05, 2013 2:16 pm Post subject: |
|
|
 Master
Joined: 22 Sep 2006 Posts: 235
|
|
Back to top |
|
 |
mvic |
Posted: Wed Jun 05, 2013 2:50 pm Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
HenriqueS wrote: |
so, where sharecnv would fit on the formula ? |
You seem to have done a lot of research. You probably now know more than most people here. So we should be asking you the above question. |
|
Back to top |
|
 |
HenriqueS |
Posted: Thu Jun 06, 2013 8:56 am Post subject: |
|
|
 Master
Joined: 22 Sep 2006 Posts: 235
|
Found this interesting resource regarding TCP/IP Connection usage between WebSphere Application Server V7 and V8, and WebSphere MQ V7...
*http://www-01.ibm.com/support/docview.wss?uid=swg21507483
So I concluded (someone correct me please):
* MaxChannels on the qm.ini = (WAS connection pool + (WAS connection pool x WAS session pool) + incoming DQM conns + internal MQ conns
*Maximum number of conversations = MaxChannels on the qm.ini - (DQM incoming conns + internal MQ conns)
* Maximum number of TCP/IP channel instances = Maximum number of conversations / SHARECNV for the channel being used
Now, what would be the good values for the connection pool, session pool and SHARECNV? I think only your mileage and system load will tell. There is a balance that should be sought on the following variables:
# of WAS threads acessing the connection factory
# of connection and session pools on WAS
# of SHARECNV on MQ
While at same time avoiding a big number of TCP/IP instances (saving the TCP/IP stack resources) and obtaining good throughput. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|