Author |
Message
|
wmq_guy |
Posted: Thu Oct 21, 2004 9:02 am Post subject: max msg length QMGR |
|
|
Acolyte
Joined: 21 Oct 2004 Posts: 50
|
I noticed that a qmgr (mq5.3 server Windows) in the properties in MMC mq explorere is set to 4194304. I read where messages can be 100MB not just 4 MB..
can I change this setting simply in the explorer and restart the qmgr and it is ready to accept 100mb messages ?
***
I also need to change this setting on the local queue receiving messages correct?
one last thing, should you set it to 104857600 (100mb) or should I go say 90MB - I bascially want to set this and forget about it not worrying about big messages. 4 MB is too small though
thanks all |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Oct 21, 2004 9:18 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
You'll need to change the MAXMSGL on all of your individual queues and channels.
To be honest, I would keep it as small as possible. You've lived with 4MB up until now, why change it to 90MB? There is no point in letting people put large messages onto your queue filling up space unless they really need to. If they need it, you increase it, but I'd make them complain first. |
|
Back to top |
|
 |
wmq_guy |
Posted: Thu Oct 21, 2004 9:25 am Post subject: |
|
|
Acolyte
Joined: 21 Oct 2004 Posts: 50
|
thanks for the input
so change all three: the qmgr, queues and channel settings? |
|
Back to top |
|
 |
csmith28 |
Posted: Thu Oct 21, 2004 3:43 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Also, if you are planning on passing a lot of larger messages across your MQManager and you are using Circular Logging you may want to have a look at your /var/mqm/log/MQGR/active log file configuration and make sure you have enough logs defined of an adequate size unless the larger messages you plan to send are going to be non-persistent. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
EddieA |
Posted: Thu Oct 21, 2004 4:30 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
And don't forget Transmission Qs.
Cheers,[/quote] _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
csmith28 |
Posted: Thu Oct 21, 2004 7:02 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
EddieA wrote: |
And don't forget Transmission Qs.
Cheers, |
[/quote]
and the DLQ or SYSTEM.DEAD.LETTER.QUEUE assuming you are using the default DLQ. If your QMGR is attempting to send a message to a remote MQMGR and the local or remote DLQ is not configured to be able to accept a message of that size, it will fail during the MCA binding negotiation. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
Nigelg |
Posted: Fri Oct 22, 2004 12:30 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
To follow on from csmith28, in either Linear or Circular logging you should review the number and size of logs you have defined to check that the log size is enough to hold the number and size of msgs you are going to use. There is a formula in the System Admin manual which you can use to determine how much log space ypou will need.
You cannot change the logging type or the size of log files on an existing qmgr, but you can change the number of log files.
One last thing; you may want to reduce the channel BATCHSZ from 50 if you are using large msgs so that you do not have 100's of MB held in a single UoW by the SDR MCA.
Perhaps as an alternative you could consider using msg segmentation instead of large msgs. It is easy to implement in both putting and getting apps, a small addition to the PMO and GMO Options. |
|
Back to top |
|
 |
|