Author |
Message
|
mq_abcd |
Posted: Thu Dec 09, 2004 6:47 am Post subject: Log size Circular logging |
|
|
 Acolyte
Joined: 13 Jun 2004 Posts: 69
|
Hi Experts,
I need a small clarification.
if i am using circular logging with 3 pri 2 sec 4MB each .
What happens if a single uow/batch of messages exceeds the total logging space(i.e. (3+2)*4 =20 MB each.
Will the MQ crete a new checkpoint or rewrite the active logs
Please help me on this
Thanks in advance
Shailu |
|
Back to top |
|
 |
Nigelg |
Posted: Thu Dec 09, 2004 6:57 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
One of the MQPUTs in the UoW will fail with 2003 or 2102, and the MQCMIT will also fail with 2003. The msgs will not be written to the queues or the logs. |
|
Back to top |
|
 |
mq_abcd |
Posted: Thu Dec 09, 2004 7:03 am Post subject: |
|
|
 Acolyte
Joined: 13 Jun 2004 Posts: 69
|
So What will be the steps i need to take at this point.
other than changing the number of log files/size of log files
Please advise me.
shailu |
|
Back to top |
|
 |
JLRowe |
Posted: Thu Dec 09, 2004 7:31 am Post subject: |
|
|
 Yatiri
Joined: 25 May 2002 Posts: 664 Location: South East London
|
You have a myriad of choices open to you:
1) Perform less persistent message GETs/PUTs in a UOW.
2) Increase log sizes
3) erm, that's it... |
|
Back to top |
|
 |
EddieA |
Posted: Thu Dec 09, 2004 9:56 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
other than changing the number of log files/size of log files |
What's the problem with doing this. If you increase the number of secondary extents, they will only be allocated when they are needed.
Cheers, _________________ 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 Dec 09, 2004 2:09 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
It's pretty easy to increase the number of logs. All you have to do is edit the value of the LogPimaryFiles stanza in your /var/mqm/qmgrs/QMGR/qm.ini file then stop and restart the MQManager. For time being I would suggest:
Adjust as needed.
Changing the size of the logfiles is a much more involved process that requires deleting and re-creating the MQManager. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
|