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 » MaxChannels

Post new topic  Reply to topic
 MaxChannels « View previous topic :: View next topic » 
Author Message
JYama
PostPosted: Tue Oct 16, 2007 5:40 pm    Post subject: MaxChannels Reply with quote

Master

Joined: 27 Mar 2002
Posts: 281

Hi experts,

I have a question about MaxChennels in qm.ini.
How can I design/determine the maximum number of client connections?
Of course, I believe it depends on the requirements of applications connecting to the QMgr, but are there best practices or tips on that?

Many thanks in advance.


Last edited by JYama on Wed Oct 17, 2007 4:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 16, 2007 6:34 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Excellent red book on JMS Topologies ... Read it
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Oct 17, 2007 2:51 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

MaxChannels is ignored on all platforms other than zOS.

One single, poorly written, client application can consume every single channel you make available to it.

Best practices is to balance the requirements of the client interactions (request/reply, multithreaded recieving, etc.) against the capacity of the infrastructure and the funding to improve said capacity.

Intercommunications manual should have some light on resource management for channels.

In general, if you're going to run a qmgr that's hosting lots of channels - use ANYTHING OTHER THAN WINDOWS. You'll run out of network stack space long before you think you should. If you can get 3000 client connections on a similarly priced and scoped Linux box, where the windows box only gives you 1000, what value is the overhead of paying for an MS license?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Wed Oct 17, 2007 2:54 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

Just a thought....
Each MQ client channel uses between 264K - 410K bytes for processing 2K byte messages depending on traffic
rate . 100K byte messages will use up
to 700K bytes per client.

Each client channel is a process...so think of it...

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Oct 17, 2007 10:02 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Gaya3 wrote:
Each client channel is a process...so think of it...

...is a THREAD within its parent amqrmppa process.

Gayathri,
Do the memory stats you quote come from IBM documentation? Or from your experience (which can be quite different from another installation)
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
tleichen
PostPosted: Wed Oct 17, 2007 11:25 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

jefflowrey wrote:
...In general, if you're going to run a qmgr that's hosting lots of channels - use ANYTHING OTHER THAN WINDOWS. You'll run out of network stack space long before you think you should. If you can get 3000 client connections on a similarly priced and scoped Linux box, where the windows box only gives you 1000, what value is the overhead of paying for an MS license?
Nice idea, in theory, but few of us have the luxury of rearchitecting our networks by bringing in other hardware, etc. Besides, there are IP tweaks you can do on Windows too. In the real world, you usually have to work with what you've got.
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Oct 17, 2007 11:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

tleichen wrote:
Nice idea, in theory, but few of us have the luxury of rearchitecting our networks by bringing in other hardware, etc. Besides, there are IP tweaks you can do on Windows too. In the real world, you usually have to work with what you've got.


reinstalling a different OS on the same machine is not the same as re-architecting a network...

But yes, there are always practical considerations, and you always have to work with what you've got. But it never hurts to show mgmt how a better future for you can be less expensive for them...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 17, 2007 1:23 pm    Post subject: Reply with quote

Grand High Poobah

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

tleichen wrote:
jefflowrey wrote:
...In general, if you're going to run a qmgr that's hosting lots of channels - use ANYTHING OTHER THAN WINDOWS. You'll run out of network stack space long before you think you should. If you can get 3000 client connections on a similarly priced and scoped Linux box, where the windows box only gives you 1000, what value is the overhead of paying for an MS license?
Nice idea, in theory, but few of us have the luxury of rearchitecting our networks by bringing in other hardware, etc. Besides, there are IP tweaks you can do on Windows too. In the real world, you usually have to work with what you've got.


If you've got large numbers of connections on a Windows machine, what you've got is suicidal management or a really dodgy job tweaking Windoze boxes.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Oct 17, 2007 3:06 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

I know its fashionable to knock Windows, but.....


I have Windows 2000 and Windows 2003 servers with 1000-1500 client connections. Been running fine for years.

I'm not saying I won't replace them with Linux when the time comes, but it won't be because they couldn't handle a lot of connections.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Oct 17, 2007 3:14 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

PeterPotkay wrote:
I know its fashionable to knock Windows, but.....


There's a difference between "knocking Windows" and "being realistic about it's limitations".

Again, if you can install Linux on those exact same machines, and get 2000 - 3000 connections per box... isn't that better for everyone?

Mind you... that's not a guarantee...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Oct 17, 2007 3:23 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

[quote="jefflowrey"]
PeterPotkay wrote:
Again, if you can install Linux on those exact same machines, and get 2000 - 3000 connections per box... isn't that better for everyone?


Assuming I need 2-3K connections, and the Windows box proves it can't handle it, then yes.

I was responding to Vitor's comments more than anything. I've got a large # of connections to a Windows box. I suppose "large #" is relative.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Gaya3
PostPosted: Wed Oct 17, 2007 10:33 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

PeterPotkay wrote:
Gaya3 wrote:
Each client channel is a process...so think of it...

...is a THREAD within its parent amqrmppa process.

Gayathri,
Do the memory stats you quote come from IBM documentation? Or from your experience (which can be quite different from another installation)


Hi Peter,
The above one i extracted from IBM tuning and performance documentation.
Even i am simulating the same i have come across similar to that itself.

Thanks and Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Oct 18, 2007 4:50 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Can you provide the link please? Or specifically which document it lives in?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Gaya3
PostPosted: Thu Oct 18, 2007 4:57 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi Peter,


http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27007150

Full Websphere MQ family performance report

http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24009979&loc=en_US&cs=utf-8&lang=en
MQ for AIX report



Thanks and Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MaxChannels
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.