Author |
Message
|
blueboy |
Posted: Wed Apr 30, 2003 1:02 am Post subject: How is amount of log space required by MQSeries determined ? |
|
|
Newbie
Joined: 30 Apr 2003 Posts: 3
|
Hi,
I am interested to learn how MQSeries determines how much space it needs for log space, and what triggers it to issue a low disk space warning message.
I have an installation on a NT drive which has 3Gb free, but MQSeries is issuing this warning, along with the transaction rolled back message.
Is it determined by the percentage of space that is free ? And if so, can this be configured at all ? |
|
Back to top |
|
 |
jhalstead |
Posted: Wed Apr 30, 2003 1:34 am Post subject: |
|
|
 Master
Joined: 16 Aug 2001 Posts: 258 Location: London
|
THis is all goin to depend on the type of logging that you use!
Circular or Linear?
Log file size and no of primaries/secondaries.
If you gon into the MQSeries Services console, right click on the qmgr, select properties and then go to the log tab you should be able to give us a good run down of your logging setup.
Let us know how this is configured and then maybe we can offer advice...
Jamie |
|
Back to top |
|
 |
blueboy |
Posted: Wed Apr 30, 2003 1:49 am Post subject: |
|
|
Newbie
Joined: 30 Apr 2003 Posts: 3
|
Apologies for not being specific enough.
It's linear logging with the default setup of 1Mb log files, 3 primary and 2 secondary. |
|
Back to top |
|
 |
blueboy |
Posted: Wed Apr 30, 2003 2:21 am Post subject: |
|
|
Newbie
Joined: 30 Apr 2003 Posts: 3
|
OK, I have just read the following in the system admin guide....
If the primary log files are completely filled before the long-running transaction completes, secondary log files are used to avoid the risk of a log full situation if possible.
...I guess then it doesn't matter how much space you have on the disc, if the transactions are large enough, and the primary/secondary files low enough, you will get this result.
I will arrange to increase the log file allocation.
 |
|
Back to top |
|
 |
jhalstead |
Posted: Wed Apr 30, 2003 2:40 am Post subject: |
|
|
 Master
Joined: 16 Aug 2001 Posts: 258 Location: London
|
As I understand it you cannot increase the number of log file pages. However increasing the number of primary and secondary logs can be done. However you will need to stop/start the qmgr.
As you initially mentioned a disk space error what was the error code/message?
Linear logs will grow and grow so you need to be on top of this, periodically recording media images and cleaning out those no longer relevant. |
|
Back to top |
|
 |
bduncan |
Posted: Wed Apr 30, 2003 9:04 am Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
You can increase the log file page size, you'll just have to delete and recreate your queue manager to do this. However, if this QM isn't in production, you can just backup all the objects and rebuild it fairly painlessly.
I don't think you'll get a "disk space" error. Typically if you run out of log space, it is because you are in the middle of a UOW which has used up all available log space. Your next MQPUT or MQGET will return a "uow failed" reason code (can't remember the number) and the entire UOW is rolled back automatically. _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
|