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 Index » General IBM MQ Support » Need to create 2000 Connections to Queue Manager

Post new topic  Reply to topic Goto page 1, 2  Next
 Need to create 2000 Connections to Queue Manager « View previous topic :: View next topic » 
Author Message
sankritya
PostPosted: Tue Dec 21, 2010 8:18 am    Post subject: Need to create 2000 Connections to Queue Manager Reply with quote

Centurion

Joined: 14 Feb 2008
Posts: 100

Hi All,

I have a requirement of creating 2000 connections to Queue Manager for retrieving data from Queue defined in the QM. I tried increasing the number of handles but it is not helping in number of connections. In the Explorer view no additional parameter is available for increasing the number of connections.
I am using MQ Version 6.0 in UNIX Environment. Can this be done through any ALTER Queue Manager commands. Sorry if it is a re post but I could not find any thing on my few tries on MQ Series.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Dec 21, 2010 8:27 am    Post subject: Reply with quote

Poobah

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

Not sure what you mean by connections. Do you mean channel connections?

Exactly what have you tried? How did you test? What were the results of your testing?
_________________
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
View user's profile Send private message
Vitor
PostPosted: Tue Dec 21, 2010 8:36 am    Post subject: Re: Need to create 2000 Connections to Queue Manager Reply with quote

Grand High Poobah

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

sankritya wrote:
I have a requirement of creating 2000 connections to Queue Manager for retrieving data from Queue defined in the QM.


Your requirement is really for 2000 simultanious application connections to the queue manager??

sankritya wrote:
I tried increasing the number of handles but it is not helping in number of connections.


How did you do this? The number of handles isn't configurable.

sankritya wrote:
In the Explorer view no additional parameter is available for increasing the number of connections.


There's a parameter for the maximum which you should have found.

sankritya wrote:
Can this be done through any ALTER Queue Manager commands.


Yes, but the ALTER command is what the Explorer is issuing on your behalf so there's nothing which you can change with the ALTER that you've not changed with the Explorer.

I echo the comments of my associate. What do you really mean by connections? What exactly is going wrong? Is it possible that you've successfully changed the queue manager limits but there's not enough resource on the server to support that number of connections?

And again, why so many simultanious connections? It's not wrong but it's unusual.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Dec 21, 2010 8:51 am    Post subject: Re: Need to create 2000 Connections to Queue Manager Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Vitor wrote:
...How did you do this? The number of handles isn't configurable...


Erm, what about the MAXHANDS attribute of a queue manager? I humbly acknowledge that this attribute is probably not what sankritya is wanting anyway
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Dec 21, 2010 9:02 am    Post subject: Re: Need to create 2000 Connections to Queue Manager Reply with quote

Grand High Poobah

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

exerk wrote:
Vitor wrote:
...How did you do this? The number of handles isn't configurable...


Erm, what about the MAXHANDS attribute of a queue manager? I humbly acknowledge that this attribute is probably not what sankritya is wanting anyway


Again my signature is vindicated.


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Dec 21, 2010 9:10 am    Post subject: Re: Need to create 2000 Connections to Queue Manager Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Vitor wrote:
exerk wrote:
Vitor wrote:
...How did you do this? The number of handles isn't configurable...


Erm, what about the MAXHANDS attribute of a queue manager? I humbly acknowledge that this attribute is probably not what sankritya is wanting anyway


Again my signature is vindicated.



Is that the swish of a good book or a sharpened trout I hear heading my way?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Dec 21, 2010 9:13 am    Post subject: Re: Need to create 2000 Connections to Queue Manager Reply with quote

Grand High Poobah

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

exerk wrote:
Is that the swish of a good book or a sharpened trout I hear heading my way?


I was referring to the 1st line.

The trout is for that tacky Xmas tree you've got in the dungeon.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sankritya
PostPosted: Tue Dec 21, 2010 9:14 am    Post subject: Reply with quote

Centurion

Joined: 14 Feb 2008
Posts: 100

Client applications are connecting to Queue Manager to retrieve messages from Queue in Queue Manager by using Java Program. I'm not sure about MQ but in the WMB terms using n number of threads. I have tried increasing the Max handles using MQ Explorer( don't know about corresponding ALTER command) but it does not resolves issue as when I try to connect during clients testing period using rfhutilc or MQ Explorer, it returns error message "Channel not available or all connections in use" and I am unable to connect.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Dec 21, 2010 9:22 am    Post subject: Reply with quote

Poobah

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

Quote:
"Channel not available or all connections in use" and I am unable to connect.

This is the error description text. What is the error message number? It should start with AMQnnnnn. Research the message number.

Given the error description text, it seems that your qmgr has reached a maximum channel threshold, or maximum threads per connection threshold.

Look at the MQSC manual for qmgr attributes that address these issues.
_________________
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
View user's profile Send private message
sankritya
PostPosted: Tue Dec 21, 2010 9:30 am    Post subject: Reply with quote

Centurion

Joined: 14 Feb 2008
Posts: 100

Error description reads as
Response: 14.23.07 2537 Channel not available or all connections in use

I searched for attributes and 3 attributes which I can use
MAXCHL(integer)
TCPCHL and CHIDISPS
But documentation says that it works only for z/os.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Dec 21, 2010 9:40 am    Post subject: Reply with quote

Poobah

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

Quote:
But documentation says that it works only for z/os.

It?

The documentation? Which doc are you looking at?
_________________
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
View user's profile Send private message
bruce2359
PostPosted: Tue Dec 21, 2010 9:49 am    Post subject: Reply with quote

Poobah

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

You might want to refer to the WMQ System Administration manual. Search there for keywords like channel or maximum...

You might also want to refer to the WMQ Intercommunications manual.
_________________
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
View user's profile Send private message
sankritya
PostPosted: Tue Dec 21, 2010 9:52 am    Post subject: Reply with quote

Centurion

Joined: 14 Feb 2008
Posts: 100

ALTER QMGR [ FORCE ]
[ AUTHOREV( ENABLED | DISABLED ) ] [ CCSID(integer) ]
[ CHAD( ENABLED | DISABLED ) ] [ CHADEV( ENABLED | DISABLED ) ]
[ CHADEXIT(string) ] [ CLWLDATA(string) ]
[ CLWLEXIT(string) ] [ CLWLLEN(integer) ]
[ DEADQ(string) ] [ DEFXMITQ(string) ]
[ DESCR (string) ] [ INHIBTEV( ENABLED | DISABLED ) ]
[ LOCALEV( ENABLED | DISABLED ) ] [ LOGGEREV( ENABLED | DISABLED ) ]
[ MAXHANDS(integer) ] [ MAXMSGL(integer) ]
[ MAXUMSGS(integer) ] [ PERFMEV( ENABLED | DISABLED ) ]
[ REMOTEEV( ENABLED | DISABLED ) ] [ REPOS(string) ]
[ REPOSNL(string) ] [ SSLCRLNL(string) ]
[ SSLCRYP(string) ] [ SSLKEYR(string) ]
[ STRSTPEV( ENABLED | DISABLED ) ] [ TRIGINT(integer) ]
[ CHLEV( ENABLED | DISABLED | EXCEPTION ) ]
[ SSLEV( ENABLED | DISABLED ) ] [ SSLFIPS( YES | NO ) ]
[ IPADDRV( IPV4 | IPV6 ) ] [ SSLRKEYC(integer) ]
[ SCHINIT( MANUAL | QMGR ) ] [ SCMDSERV( MANUAL | QMGR ) ]
[ CLWLMRUC(integer) ] [ CLWLUSEQ( LOCAL | ANY ) ]
[ STATMQI( ON | OFF ) ] [ STATQ( NONE | ON | OFF ) ]
[ STATCHL( NONE | OFF | LOW | MEDIUM | HIGH ) ]
[ STATACLS( QMGR | OFF | LOW | MEDIUM | HIGH ) ]
[ STATINT(integer) ] [ ACCTMQI( ON | OFF ) ]
[ ACCTQ( NONE | ON | OFF ) ] [ ACCTINT(integer) ]
[ ACCTCONO( ENABLED | DISABLED ) ]
[ ROUTEREC( MSG | QUEUE | DISABLED ) ]
[ ACTIVREC( MSG | QUEUE | DISABLED ) ]
[ MONCHL( NONE | OFF | LOW | MEDIUM | HIGH ) ]
[ MONQ( NONE | OFF | LOW | MEDIUM | HIGH ) ]
[ MONACLS( OFF | LOW | MEDIUM | HIGH | QMGR ) ]

I don't see MAXCHL in the list.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Dec 21, 2010 9:59 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Right click on the queue manager in MQExplorer. Select "Properties". Choose "Channels".
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Dec 21, 2010 10:03 am    Post subject: Reply with quote

Grand High Poobah

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

sankritya wrote:
Client applications are connecting to Queue Manager to retrieve messages from Queue in Queue Manager by using Java Program.I'm not sure about MQ but in the WMB terms using n number of threads.


So what you're saying is that your design has 2000 separate threads all running against the queue manager, all at the same time, and running the queue manager out of connections. 2000 threads. For an extended period. Against a single queue, or a number of queues?

And you feel the solution is to increase the number of available connections?

sankritya wrote:
I have tried increasing the Max handles using MQ Explorer( don't know about corresponding ALTER command) but it does not resolves issue as when I try to connect during clients testing period using rfhutilc or MQ Explorer, it returns error message "Channel not available or all connections in use" and I am unable to connect.


Randomly changing settings in the hope things will improve is never a strategy with a high chance of success.

Here's a question: does your design really call for 2000 connections, or do you just want to increase the number of connections to eliminate that error & you've picked 2000 as a good, high-sounding number?

Here's a follow up question: can you connect with RFHUtil when the clients start testing, but after a little while you get the error message? If so, how many clients are actually running at that time? I would not be entirely surprised to discover that it works at the start of testing, stops working later on & continues to not work for a while after they've all stopped.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » Need to create 2000 Connections to Queue Manager
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.