Re: Max Channels
I tested the number of agent threads per process for V2.0.1 (or was it 2.1?). Sam Garforth --- Paul Clarke [EMAIL PROTECTED] wrote: Peter,, Threaded agents were put in a long time before 5.3 but my memory is not good enough to know when. I did a quick search and a description of the Agent thread configuration is here http://www-3.ibm.com/software/integration/support/supportpacs/individual/mp02/csd3tune.html Not sure whether it's the latest and greatest though. As far as channel pools are concerned they take the same defaults pretty much. You'll get 64 threads up to 100 processes and then we load the process up to 100 threads. Any more clients will get a new process per 100 clients. So.. 1,000 clients = 16 AMQRMPPA processes 5,000 clients = 78 AMQRMPPA processes 10,000 clients = 100 AMQRMPPA processes 20,000 clients = 200 AMQRMPPA processes Hope this helps, P. Paul G Clarke WebSphere MQ Development IBM Hursley Peter Uranyi [EMAIL PROTECTED]To: [EMAIL PROTECTED] M cc: Sent by: MQSeries Subject: Re: Max Channels List [EMAIL PROTECTED] N.AC.AT 09/10/2003 19:29 Please respond to MQSeries List Paul, Maybe I don't need to know about the parameters, but it would be useful to know the maximum number of threads running in each channel pool process, (and also in the agent processes as well.) If I remember correctly, the amqzlaa0 process used to be single-threaded in 5.2, but now in 5.3 it looks like it is multi-threaded. What I would like to find out is that for a given number of client connections, how many amqzlaa0 and amqrmppa processes are created. (MQ 5.3 CSD04 for AIX). Thanks In Advance, Peter --- Paul Clarke [EMAIL PROTECTED] wrote: MaxChannels and MaxActiveChannels are global parameters. They specify the maximum values regardless of how many listeners you have running or indeed use inetd. There is no MQ parameter which limits the number that can connect to a single listener. In 5.3 you can have a single listener to handle all your inbound channels regardless of how many there are. In this case the connection is farmed out to a pool of channel processes. There are parameters to control how many are farmed out to each process but we don't document them 'cos in general you don't need to know. Cheers, P. Paul G Clarke WebSphere MQ Development IBM Hursley Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://mail.messenger.yahoo.co.uk Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Max Channels
Thanks again, Paul... Ruzi Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Max Channels
Can we have a single listener handling incoming connections for multiple queue managers? Regards John Scott IBM Certified Specialist - MQSeries Argos Ltd -Original Message- From: Paul Clarke [mailto:[EMAIL PROTECTED] Sent: 07 October 2003 14:05 To: [EMAIL PROTECTED] Subject: Re: Max Channels MaxChannels and MaxActiveChannels are global parameters. They specify the maximum values regardless of how many listeners you have running or indeed use inetd. There is no MQ parameter which limits the number that can connect to a single listener. In 5.3 you can have a single listener to handle all your inbound channels regardless of how many there are. In this case the connection is farmed out to a pool of channel processes. There are parameters to control how many are farmed out to each process but we don't document them 'cos in general you don't need to know. Cheers, P. Paul G Clarke WebSphere MQ Development IBM Hursley Ruzi R [EMAIL PROTECTED]To: [EMAIL PROTECTED] M cc: Sent by: MQSeriesSubject: Re: Max Channels List [EMAIL PROTECTED] N.AC.AT 07/10/2003 13:26 Please respond to MQSeries List Sid, if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). I believe (someone will correct me if I am wrong) the numbers that are set for MAxChannels and MAxActiveChannels are for a single port. So, in your example, you will have max 5000 channels. Best regards, Ruzi --- [EMAIL PROTECTED] wrote: Howdy again, Does each listener contribute to the total MaxChannels value or if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). Thanks Sid -Original Message- From: Ruzi R [mailto:[EMAIL PROTECTED] Sent: Monday, 6 October 2003 8:55 PM To: [EMAIL PROTECTED] Subject: Re: Max Channels MaxActiveChannel needs to be at least 2500 (assuming the server can handle this many connections). Best regards, Ruzi --- [EMAIL PROTECTED] wrote: G'Day all, I have about 500 clients all trying to connect at about the same time and transfer data from one of my MQ server (NT4 mqv5.1), each client is running 5 threads with their own connection, so my question is this. Is 500 clients and 5 threads each = 2500 connections? Does Max Channel need to be at least 2500 ? Sid Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive *** Click here to visit the Argos home page http://www.argos.co.uk The information contained in this message or any of its attachments may be privileged and confidential, and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you are not the addressee, any disclosure, reproduction, dissemination or use of this communication is not authorised. If you have received this message in error, please advise the sender by using the reply facility in your e-mail software. All messages sent and received by Argos Ltd are monitored for virus, high risk file extensions, and inappropriate content. As a result users should be aware that mail maybe accessed. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Max Channels
No you cannot -Original Message- From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of John Scott Sent: 09 October 2003 18:03 To: [EMAIL PROTECTED] Subject: Re: Max Channels Can we have a single listener handling incoming connections for multiple queue managers? Regards John Scott IBM Certified Specialist - MQSeries Argos Ltd -Original Message- From: Paul Clarke [mailto:[EMAIL PROTECTED] Sent: 07 October 2003 14:05 To: [EMAIL PROTECTED] Subject: Re: Max Channels MaxChannels and MaxActiveChannels are global parameters. They specify the maximum values regardless of how many listeners you have running or indeed use inetd. There is no MQ parameter which limits the number that can connect to a single listener. In 5.3 you can have a single listener to handle all your inbound channels regardless of how many there are. In this case the connection is farmed out to a pool of channel processes. There are parameters to control how many are farmed out to each process but we don't document them 'cos in general you don't need to know. Cheers, P. Paul G Clarke WebSphere MQ Development IBM Hursley Ruzi R [EMAIL PROTECTED]To: [EMAIL PROTECTED] M cc: Sent by: MQSeriesSubject: Re: Max Channels List [EMAIL PROTECTED] N.AC.AT 07/10/2003 13:26 Please respond to MQSeries List Sid, if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). I believe (someone will correct me if I am wrong) the numbers that are set for MAxChannels and MAxActiveChannels are for a single port. So, in your example, you will have max 5000 channels. Best regards, Ruzi --- [EMAIL PROTECTED] wrote: Howdy again, Does each listener contribute to the total MaxChannels value or if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). Thanks Sid -Original Message- From: Ruzi R [mailto:[EMAIL PROTECTED] Sent: Monday, 6 October 2003 8:55 PM To: [EMAIL PROTECTED] Subject: Re: Max Channels MaxActiveChannel needs to be at least 2500 (assuming the server can handle this many connections). Best regards, Ruzi --- [EMAIL PROTECTED] wrote: G'Day all, I have about 500 clients all trying to connect at about the same time and transfer data from one of my MQ server (NT4 mqv5.1), each client is running 5 threads with their own connection, so my question is this. Is 500 clients and 5 threads each = 2500 connections? Does Max Channel need to be at least 2500 ? Sid Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive *** Click here to visit the Argos home page http://www.argos.co.uk The information contained in this message or any of its attachments may be privileged and confidential, and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you are not the addressee, any disclosure, reproduction, dissemination or use of this communication is not authorised. If you have received this message in error, please advise the sender by using the reply facility in your e-mail software. All messages sent and received by Argos Ltd are monitored for virus, high risk file extensions, and inappropriate content. As a result users should be aware that mail maybe accessed. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list
Re: Max Channels
Paul, Maybe I don't need to know about the parameters, but it would be useful to know the maximum number of threads running in each channel pool process, (and also in the agent processes as well.) If I remember correctly, the amqzlaa0 process used to be single-threaded in 5.2, but now in 5.3 it looks like it is multi-threaded. What I would like to find out is that for a given number of client connections, how many amqzlaa0 and amqrmppa processes are created. (MQ 5.3 CSD04 for AIX). Thanks In Advance, Peter --- Paul Clarke [EMAIL PROTECTED] wrote: MaxChannels and MaxActiveChannels are global parameters. They specify the maximum values regardless of how many listeners you have running or indeed use inetd. There is no MQ parameter which limits the number that can connect to a single listener. In 5.3 you can have a single listener to handle all your inbound channels regardless of how many there are. In this case the connection is farmed out to a pool of channel processes. There are parameters to control how many are farmed out to each process but we don't document them 'cos in general you don't need to know. Cheers, P. Paul G Clarke WebSphere MQ Development IBM Hursley Ruzi R [EMAIL PROTECTED]To: [EMAIL PROTECTED] M cc: Sent by: MQSeriesSubject: Re: Max Channels List [EMAIL PROTECTED] N.AC.AT 07/10/2003 13:26 Please respond to MQSeries List Sid, if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). I believe (someone will correct me if I am wrong) the numbers that are set for MAxChannels and MAxActiveChannels are for a single port. So, in your example, you will have max 5000 channels. Best regards, Ruzi --- [EMAIL PROTECTED] wrote: Howdy again, Does each listener contribute to the total MaxChannels value or if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). Thanks Sid -Original Message- From: Ruzi R [mailto:[EMAIL PROTECTED] Sent: Monday, 6 October 2003 8:55 PM To: [EMAIL PROTECTED] Subject: Re: Max Channels MaxActiveChannel needs to be at least 2500 (assuming the server can handle this many connections). Best regards, Ruzi --- [EMAIL PROTECTED] wrote: G'Day all, I have about 500 clients all trying to connect at about the same time and transfer data from one of my MQ server (NT4 mqv5.1), each client is running 5 threads with their own connection, so my question is this. Is 500 clients and 5 threads each = 2500 connections? Does Max Channel need to be at least 2500 ? Sid Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Max Channels
Thanks for the correction, Paul. In the past it was always been obvious to me that when you specified these max values in the Channels tab of MQSeries Services, they were global (modifying the registry). However, when I read the following passage from the Administration book (page 75), I the impression that these max values were per port (WHEN SPECIFED AS A RANGE). I guess, I was not the only one who was not quite sure about this. I am glad the we have this listserv that clarifies this kind of ambiguities. Thanks again for putting it right. Here is the passage from the Admin book for easy reference: In MQSeries V5.2 and WebSphere MQ, you can specify a range of TCP/IP ports to be used by an outbound channel. One method is to use the qm.ini file to specify the start and end of a range of port values. The example below shows a qm.ini file specifying a range of channels: TCP: StrPort=2500 EndPort=3000 CHANNELS: MaxChannels=200 MaxActiveChannels=100 If you specify a value for StrPort or EndPort then you must specify a value for both. The value of EndPort must always be greater than the value of StrPort. The channel tries to use each of the port values in the range specified. When the connection is successful, the port value is the port that the channel then uses. Best regards, Ruzi --- Paul Clarke [EMAIL PROTECTED] wrote: MaxChannels and MaxActiveChannels are global parameters. They specify the maximum values regardless of how many listeners you have running or indeed use inetd. There is no MQ parameter which limits the number that can connect to a single listener. In 5.3 you can have a single listener to handle all your inbound channels regardless of how many there are. In this case the connection is farmed out to a pool of channel processes. There are parameters to control how many are farmed out to each process but we don't document them 'cos in general you don't need to know. Cheers, P. Paul G Clarke WebSphere MQ Development IBM Hursley Ruzi R [EMAIL PROTECTED]To: [EMAIL PROTECTED] M cc: Sent by: MQSeries Subject: Re: Max Channels List [EMAIL PROTECTED] N.AC.AT 07/10/2003 13:26 Please respond to MQSeries List Sid, if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). I believe (someone will correct me if I am wrong) the numbers that are set for MAxChannels and MAxActiveChannels are for a single port. So, in your example, you will have max 5000 channels. Best regards, Ruzi --- [EMAIL PROTECTED] wrote: Howdy again, Does each listener contribute to the total MaxChannels value or if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). Thanks Sid -Original Message- From: Ruzi R [mailto:[EMAIL PROTECTED] Sent: Monday, 6 October 2003 8:55 PM To: [EMAIL PROTECTED] Subject: Re: Max Channels MaxActiveChannel needs to be at least 2500 (assuming the server can handle this many connections). Best regards, Ruzi --- [EMAIL PROTECTED] wrote: G'Day all, I have about 500 clients all trying to connect at about the same time and transfer data from one of my MQ server (NT4 mqv5.1), each client is running 5 threads with their own connection, so my question is this. Is 500 clients and 5 threads each = 2500 connections? Does Max Channel need to be at least 2500 ? Sid Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided
Re: Max Channels
Ruzi, You're welcome, glad I could help. I've read the section of the manual you quote and I can't see where it implies that the Max values are per port. Besides this section is talking about *outbound* port ranges. Nothing to do with the port number you start your listener on. Outbound port ranges can be useful if you want to make an outbound connection to a remote machine and you need to go through a firewall which is blocking certain port pairings. Cheers, P. Paul G Clarke WebSphere MQ Development IBM Hursley Ruzi R [EMAIL PROTECTED]To: [EMAIL PROTECTED] M cc: Sent by: MQSeriesSubject: Re: Max Channels List [EMAIL PROTECTED] N.AC.AT 08/10/2003 12:30 Please respond to MQSeries List Thanks for the correction, Paul. In the past it was always been obvious to me that when you specified these max values in the Channels tab of MQSeries Services, they were global (modifying the registry). However, when I read the following passage from the Administration book (page 75), I the impression that these max values were per port (WHEN SPECIFED AS A RANGE). I guess, I was not the only one who was not quite sure about this. I am glad the we have this listserv that clarifies this kind of ambiguities. Thanks again for putting it right. Here is the passage from the Admin book for easy reference: In MQSeries V5.2 and WebSphere MQ, you can specify a range of TCP/IP ports to be used by an outbound channel. One method is to use the qm.ini file to specify the start and end of a range of port values. The example below shows a qm.ini file specifying a range of channels: TCP: StrPort=2500 EndPort=3000 CHANNELS: MaxChannels=200 MaxActiveChannels=100 If you specify a value for StrPort or EndPort then you must specify a value for both. The value of EndPort must always be greater than the value of StrPort. The channel tries to use each of the port values in the range specified. When the connection is successful, the port value is the port that the channel then uses. Best regards, Ruzi --- Paul Clarke [EMAIL PROTECTED] wrote: MaxChannels and MaxActiveChannels are global parameters. They specify the maximum values regardless of how many listeners you have running or indeed use inetd. There is no MQ parameter which limits the number that can connect to a single listener. In 5.3 you can have a single listener to handle all your inbound channels regardless of how many there are. In this case the connection is farmed out to a pool of channel processes. There are parameters to control how many are farmed out to each process but we don't document them 'cos in general you don't need to know. Cheers, P. Paul G Clarke WebSphere MQ Development IBM Hursley Ruzi R [EMAIL PROTECTED]To: [EMAIL PROTECTED] M cc: Sent by: MQSeries Subject: Re: Max Channels List [EMAIL PROTECTED] N.AC.AT 07/10/2003 13:26 Please respond to MQSeries List Sid, if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). I believe (someone will correct me if I am wrong) the numbers that are set for MAxChannels and MAxActiveChannels are for a single port. So, in your example, you will have max 5000 channels. Best regards, Ruzi --- [EMAIL PROTECTED] wrote: Howdy again, Does each listener contribute to the total MaxChannels value or if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). Thanks Sid -Original Message- From: Ruzi R [mailto:[EMAIL PROTECTED] Sent: Monday, 6 October 2003 8:55 PM To: [EMAIL PROTECTED] Subject: Re: Max Channels MaxActiveChannel needs to be at least 2500 (assuming the server can handle this many connections). Best regards, Ruzi --- [EMAIL PROTECTED] wrote: G'Day all, I have about 500 clients all trying to connect at about the same time and transfer data from one of my MQ server (NT4 mqv5.1), each client is running 5 threads with their own connection, so my question is this. Is 500 clients and 5 threads each = 2500 connections? Does Max Channel need to be at least 2500 ? Sid Instructions for managing your mailing list subscription are provided in the Listserv General Users
Re: Max Channels
- Original Message - From: Paul Clarke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 8:01 AM Subject: Re: Max Channels Ruzi, You're welcome, glad I could help. I've read the section of the manual you quote and I can't see where it implies that the Max values are per port. Besides this section is talking about *outbound* port ranges. Nothing to do with the port number you start your listener on. Outbound port ranges can be useful if you want to make an outbound connection to a remote machine and you need to go through a firewall which is blocking certain port pairings. Cheers, P. Paul G Clarke WebSphere MQ Development IBM Hursley Ruzi R [EMAIL PROTECTED]To: [EMAIL PROTECTED] M cc: Sent by: MQSeriesSubject: Re: Max Channels List [EMAIL PROTECTED] N.AC.AT 08/10/2003 12:30 Please respond to MQSeries List Thanks for the correction, Paul. In the past it was always been obvious to me that when you specified these max values in the Channels tab of MQSeries Services, they were global (modifying the registry). However, when I read the following passage from the Administration book (page 75), I the impression that these max values were per port (WHEN SPECIFED AS A RANGE). I guess, I was not the only one who was not quite sure about this. I am glad the we have this listserv that clarifies this kind of ambiguities. Thanks again for putting it right. Here is the passage from the Admin book for easy reference: In MQSeries V5.2 and WebSphere MQ, you can specify a range of TCP/IP ports to be used by an outbound channel. One method is to use the qm.ini file to specify the start and end of a range of port values. The example below shows a qm.ini file specifying a range of channels: TCP: StrPort=2500 EndPort=3000 CHANNELS: MaxChannels=200 MaxActiveChannels=100 If you specify a value for StrPort or EndPort then you must specify a value for both. The value of EndPort must always be greater than the value of StrPort. The channel tries to use each of the port values in the range specified. When the connection is successful, the port value is the port that the channel then uses. Best regards, Ruzi --- Paul Clarke [EMAIL PROTECTED] wrote: MaxChannels and MaxActiveChannels are global parameters. They specify the maximum values regardless of how many listeners you have running or indeed use inetd. There is no MQ parameter which limits the number that can connect to a single listener. In 5.3 you can have a single listener to handle all your inbound channels regardless of how many there are. In this case the connection is farmed out to a pool of channel processes. There are parameters to control how many are farmed out to each process but we don't document them 'cos in general you don't need to know. Cheers, P. Paul G Clarke WebSphere MQ Development IBM Hursley Ruzi R [EMAIL PROTECTED]To: [EMAIL PROTECTED] M cc: Sent by: MQSeries Subject: Re: Max Channels List [EMAIL PROTECTED] N.AC.AT 07/10/2003 13:26 Please respond to MQSeries List Sid, if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). I believe (someone will correct me if I am wrong) the numbers that are set for MAxChannels and MAxActiveChannels are for a single port. So, in your example, you will have max 5000 channels. Best regards, Ruzi --- [EMAIL PROTECTED] wrote: Howdy again, Does each listener contribute to the total MaxChannels value or if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). Thanks Sid -Original Message- From: Ruzi R [mailto:[EMAIL PROTECTED] Sent: Monday, 6 October 2003 8:55 PM To: [EMAIL PROTECTED] Subject: Re: Max Channels MaxActiveChannel needs to be at least 2500 (assuming the server can handle this many connections). Best regards, Ruzi --- [EMAIL PROTECTED] wrote: G'Day all, I have about 500 clients all trying to connect at about the same time and transfer data from one of my MQ server (NT4 mqv5.1), each
Re: Max Channels
- Original Message - From: Ruzi R [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 7:30 AM Subject: Re: Max Channels Thanks for the correction, Paul. In the past it was always been obvious to me that when you specified these max values in the Channels tab of MQSeries Services, they were global (modifying the registry). However, when I read the following passage from the Administration book (page 75), I the impression that these max values were per port (WHEN SPECIFED AS A RANGE). I guess, I was not the only one who was not quite sure about this. I am glad the we have this listserv that clarifies this kind of ambiguities. Thanks again for putting it right. Here is the passage from the Admin book for easy reference: In MQSeries V5.2 and WebSphere MQ, you can specify a range of TCP/IP ports to be used by an outbound channel. One method is to use the qm.ini file to specify the start and end of a range of port values. The example below shows a qm.ini file specifying a range of channels: TCP: StrPort=2500 EndPort=3000 CHANNELS: MaxChannels=200 MaxActiveChannels=100 If you specify a value for StrPort or EndPort then you must specify a value for both. The value of EndPort must always be greater than the value of StrPort. The channel tries to use each of the port values in the range specified. When the connection is successful, the port value is the port that the channel then uses. Best regards, Ruzi --- Paul Clarke [EMAIL PROTECTED] wrote: MaxChannels and MaxActiveChannels are global parameters. They specify the maximum values regardless of how many listeners you have running or indeed use inetd. There is no MQ parameter which limits the number that can connect to a single listener. In 5.3 you can have a single listener to handle all your inbound channels regardless of how many there are. In this case the connection is farmed out to a pool of channel processes. There are parameters to control how many are farmed out to each process but we don't document them 'cos in general you don't need to know. Cheers, P. Paul G Clarke WebSphere MQ Development IBM Hursley Ruzi R [EMAIL PROTECTED]To: [EMAIL PROTECTED] M cc: Sent by: MQSeries Subject: Re: Max Channels List [EMAIL PROTECTED] N.AC.AT 07/10/2003 13:26 Please respond to MQSeries List Sid, if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). I believe (someone will correct me if I am wrong) the numbers that are set for MAxChannels and MAxActiveChannels are for a single port. So, in your example, you will have max 5000 channels. Best regards, Ruzi --- [EMAIL PROTECTED] wrote: Howdy again, Does each listener contribute to the total MaxChannels value or if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). Thanks Sid -Original Message- From: Ruzi R [mailto:[EMAIL PROTECTED] Sent: Monday, 6 October 2003 8:55 PM To: [EMAIL PROTECTED] Subject: Re: Max Channels MaxActiveChannel needs to be at least 2500 (assuming the server can handle this many connections). Best regards, Ruzi --- [EMAIL PROTECTED] wrote: G'Day all, I have about 500 clients all trying to connect at about the same time and transfer data from one of my MQ server (NT4 mqv5.1), each client is running 5 threads with their own connection, so my question is this. Is 500 clients and 5 threads each = 2500 connections? Does Max Channel need to be at least 2500 ? Sid Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http
Re: Max Channels
Sid, if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). I believe (someone will correct me if I am wrong) the numbers that are set for MAxChannels and MAxActiveChannels are for a single port. So, in your example, you will have max 5000 channels. Best regards, Ruzi --- [EMAIL PROTECTED] wrote: Howdy again, Does each listener contribute to the total MaxChannels value or if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). Thanks Sid -Original Message- From: Ruzi R [mailto:[EMAIL PROTECTED] Sent: Monday, 6 October 2003 8:55 PM To: [EMAIL PROTECTED] Subject: Re: Max Channels MaxActiveChannel needs to be at least 2500 (assuming the server can handle this many connections). Best regards, Ruzi --- [EMAIL PROTECTED] wrote: G'Day all, I have about 500 clients all trying to connect at about the same time and transfer data from one of my MQ server (NT4 mqv5.1), each client is running 5 threads with their own connection, so my question is this. Is 500 clients and 5 threads each = 2500 connections? Does Max Channel need to be at least 2500 ? Sid Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Max Channels
MaxChannels and MaxActiveChannels are global parameters. They specify the maximum values regardless of how many listeners you have running or indeed use inetd. There is no MQ parameter which limits the number that can connect to a single listener. In 5.3 you can have a single listener to handle all your inbound channels regardless of how many there are. In this case the connection is farmed out to a pool of channel processes. There are parameters to control how many are farmed out to each process but we don't document them 'cos in general you don't need to know. Cheers, P. Paul G Clarke WebSphere MQ Development IBM Hursley Ruzi R [EMAIL PROTECTED]To: [EMAIL PROTECTED] M cc: Sent by: MQSeriesSubject: Re: Max Channels List [EMAIL PROTECTED] N.AC.AT 07/10/2003 13:26 Please respond to MQSeries List Sid, if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). I believe (someone will correct me if I am wrong) the numbers that are set for MAxChannels and MAxActiveChannels are for a single port. So, in your example, you will have max 5000 channels. Best regards, Ruzi --- [EMAIL PROTECTED] wrote: Howdy again, Does each listener contribute to the total MaxChannels value or if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). Thanks Sid -Original Message- From: Ruzi R [mailto:[EMAIL PROTECTED] Sent: Monday, 6 October 2003 8:55 PM To: [EMAIL PROTECTED] Subject: Re: Max Channels MaxActiveChannel needs to be at least 2500 (assuming the server can handle this many connections). Best regards, Ruzi --- [EMAIL PROTECTED] wrote: G'Day all, I have about 500 clients all trying to connect at about the same time and transfer data from one of my MQ server (NT4 mqv5.1), each client is running 5 threads with their own connection, so my question is this. Is 500 clients and 5 threads each = 2500 connections? Does Max Channel need to be at least 2500 ? Sid Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Max Channels
2500 it is - so MaxChannel will need to be at least 2500. Also beware your TCP/IP backlog - if they are all trying to connect at the same time, they might not succeed. As you're running 5.1 and the threaded listener, you will almost certainly find that this is too many concurrent connections for one listener, and you may need to run multiple listeners (each on a different port) and split your clients between them. David -Original Message- From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: 06 October 2003 06:02 To: [EMAIL PROTECTED] Subject: Max Channels G'Day all, I have about 500 clients all trying to connect at about the same time and transfer data from one of my MQ server (NT4 mqv5.1), each client is running 5 threads with their own connection, so my question is this. Is 500 clients and 5 threads each = 2500 connections? Does Max Channel need to be at least 2500 ? Sid Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Max Channels
MaxActiveChannel needs to be at least 2500 (assuming the server can handle this many connections). Best regards, Ruzi --- [EMAIL PROTECTED] wrote: G'Day all, I have about 500 clients all trying to connect at about the same time and transfer data from one of my MQ server (NT4 mqv5.1), each client is running 5 threads with their own connection, so my question is this. Is 500 clients and 5 threads each = 2500 connections? Does Max Channel need to be at least 2500 ? Sid Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Max Channels
Howdy again, Does each listener contribute to the total MaxChannels value or if you run 5 listners and you have MaxChannels set to 1000 does that mean there are 5000 channels available (assuming server is capable of handling that many in bound connections). Thanks Sid -Original Message- From: Ruzi R [mailto:[EMAIL PROTECTED] Sent: Monday, 6 October 2003 8:55 PM To: [EMAIL PROTECTED] Subject: Re: Max Channels MaxActiveChannel needs to be at least 2500 (assuming the server can handle this many connections). Best regards, Ruzi --- [EMAIL PROTECTED] wrote: G'Day all, I have about 500 clients all trying to connect at about the same time and transfer data from one of my MQ server (NT4 mqv5.1), each client is running 5 threads with their own connection, so my question is this. Is 500 clients and 5 threads each = 2500 connections? Does Max Channel need to be at least 2500 ? Sid Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Max Channels
G'Day all, I have about 500 clients all trying to connect at about the same time and transfer data from one of my MQ server (NT4 mqv5.1), each client is running 5 threads with their own connection, so my question is this. Is 500 clients and 5 threads each = 2500 connections? Does Max Channel need to be at least 2500 ? Sid Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Max Channels
All: Background: MQ (5.3.0.1) Server is running on a Win2k Server machine. There is one MQ Q manager for this issue. There are 3 local Qs in the Q manager. The Max channel and max active channels has been set to 1000. A local Win2k Service was used to put message into the qs. Client is Java also on Win2k Server. There are two physical machines with exactly the same Java code (Websphere Application Server). When the app server started, 6 threads are created. 1. Each thread will obtained a Q Manager 2. Loop For Ever (Get Msgs) 2.1: Access a Q from the Q manager 2.2: get msg with the Q 2.3 close the Q. 3. When the Application Server shuts down, the Q manager will be disconnected. Note: If there is a problem during the loop, a reconnect logic will be done to the Q manager. The reconnection is a loop by itself with a interval of 3 sec until I get a good connection. Problem: Due to whatever reason, a reconnection logic is triggered, then we will run out of connection (even I have configured the number to be 1000). Trail Fix: Check the TCP tab's KeepAlive Check Box in the WebSphere MQ Service Snap-in. Change the KeepLiveTime in Registry. (HKEY_ LOCAL_ MACHINE\ SYSTEM\ CurrentControlSet\Services\ Tcpip\ Parameters; KeepAliveTime set to 6). We tested this fix, it seems not working as expected. Any other fix ideas? Thanks. Jerry [EMAIL PROTECTED] Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Max Channels
Jerry, I would look at the log files and see if there are any error messages which might help. Also, there is a TCP keep alive setting for the qmgr in the Services menu. This needs to be set for the qmgr to use keep alive. I'm not sure keep alive will do anything more than clean up connections which have not been properly disconnected by the application. The max channel settings do not ensure that you will get 1000 connections. This will depend on the resources of the server (memory and CPU). There is also another setting in the TCP panel of the services menu ListenerBacklog (the number of backlogged TCP requests for MQ listener service). The default setting for windows is 100. A 9228 error message will appear on the log if this setting is exceeded. Nick -Original Message- From: Jiede J Yang [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 7:41 AM To: [EMAIL PROTECTED] Subject: Max Channels Importance: High All: Background: MQ (5.3.0.1) Server is running on a Win2k Server machine. There is one MQ Q manager for this issue. There are 3 local Qs in the Q manager. The Max channel and max active channels has been set to 1000. A local Win2k Service was used to put message into the qs. Client is Java also on Win2k Server. There are two physical machines with exactly the same Java code (Websphere Application Server). When the app server started, 6 threads are created. 1. Each thread will obtained a Q Manager 2. Loop For Ever (Get Msgs) 2.1: Access a Q from the Q manager 2.2: get msg with the Q 2.3 close the Q. 3. When the Application Server shuts down, the Q manager will be disconnected. Note: If there is a problem during the loop, a reconnect logic will be done to the Q manager. The reconnection is a loop by itself with a interval of 3 sec until I get a good connection. Problem: Due to whatever reason, a reconnection logic is triggered, then we will run out of connection (even I have configured the number to be 1000). Trail Fix: Check the TCP tab's KeepAlive Check Box in the WebSphere MQ Service Snap-in. Change the KeepLiveTime in Registry. (HKEY_ LOCAL_ MACHINE\ SYSTEM\ CurrentControlSet\Services\ Tcpip\ Parameters; KeepAliveTime set to 6). We tested this fix, it seems not working as expected. Any other fix ideas? Thanks. Jerry [EMAIL PROTECTED] Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: max channels
It shouldn't, depends on your application load and the capacity of the hardware you are running W2K on. On large as in 4-8 processor 2Gbyte machines I have heard of people having maxchannels set at 1000-2000, now thats a lot of client connections and so it depends on how active each client is. You could possibly overload MQ with as few as a couple of connections per cpu if they were batch programs delivering messages as fast as the CPU would let them. Especially if the message processing app was running on the same machine. You need more memory for more connections and more CPU power for more messages/sec. It is fairly easy to modify the sample programs to simulate a workload. Regards Tim A Anderson, Lizette T. (RyTull) To: [EMAIL PROTECTED] Lizette.Anderson@RYERScc: ONTULL.COMSubject: max channels Sent by: MQSeries List [EMAIL PROTECTED] T 31/01/2003 09:06 Please respond to MQSeries List I am getting a message in the event viewer on a Windows 2000 server stating that the maximum number of channels that can be in using simultaneously has been reached. We are using the default which I understand is 100. I know the value can be changed using MQSeries Services. Would increasing this value to 150 cause problems? Would it be necessary to stop the service to activate the change? --- Legal Disclaimer: The information contained in this communication may be confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please re-send this communication to the sender and delete the original message and any copy of it from your computer system. Thank you. --- Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
max channels
I am getting a message in the event viewer on a Windows 2000 server stating that the maximum number of channels that can be in using simultaneously has been reached. We are using the default which I understand is 100. I know the value can be changed using MQSeries Services. Would increasing this value to 150 cause problems? Would it be necessary to stop the service to activate the change? --- Legal Disclaimer: The information contained in this communication may be confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please re-send this communication to the sender and delete the original message and any copy of it from your computer system. Thank you. --- Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: max channels
Whether or not you can support 150 channels depends on the hardware. Someone mentioned this in a post a day or so ago and I think they referenced the Planning Guide which gives you some idea of how to estimate capacity. To activate the new setting you need to stop/start the qmgr, but not necessarily the service. -Original Message- From: Anderson, Lizette T. (RyTull) [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 2:07 PM To: [EMAIL PROTECTED] Subject: max channels I am getting a message in the event viewer on a Windows 2000 server stating that the maximum number of channels that can be in using simultaneously has been reached. We are using the default which I understand is 100. I know the value can be changed using MQSeries Services. Would increasing this value to 150 cause problems? Would it be necessary to stop the service to activate the change? --- Legal Disclaimer: The information contained in this communication may be confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please re-send this communication to the sender and delete the original message and any copy of it from your computer system. Thank you. --- Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive