|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
yet another issue with queue manager logs |
« View previous topic :: View next topic » |
Author |
Message
|
pgorak |
Posted: Fri Sep 19, 2003 12:30 am Post subject: yet another issue with queue manager logs |
|
|
 Disciple
Joined: 15 Jul 2002 Posts: 158 Location: Cracow, Poland
|
Hi all,
This indeed seems to be an endless subject.
Let's suppose we have a queue manager with circular logs, 3 primary and 2 secondary files. At a point in time there is a resource problem and we decide to increase the number of primary log files to 10. Now, at some point later we want to free some disk space and go back to 3 primary log files.
My question is: is this possible and how can this be accomplished?
Piotr |
|
Back to top |
|
 |
jhalstead |
Posted: Fri Sep 19, 2003 3:40 am Post subject: |
|
|
 Master
Joined: 16 Aug 2001 Posts: 258 Location: London
|
Yes I believe it is, you'll need to re-start the qmgr after changing the log settings.
After a while a number of the logs will no longer hold relevant information and will be cleaned up ... |
|
Back to top |
|
 |
pgorak |
Posted: Fri Sep 19, 2003 3:46 am Post subject: |
|
|
 Disciple
Joined: 15 Jul 2002 Posts: 158 Location: Cracow, Poland
|
you mean - automatically cleaned up by the queue manager?
What I expected was that the unnecessary files are deleted right away, during the restart. But it didn't happen and that's why I posted my question.
Piotr |
|
Back to top |
|
 |
PeterPotkay |
Posted: Sat Sep 20, 2003 9:45 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Piotr, are you really running MQ on a machine that is so low on disk space? Even if you made your logs at the maximum size of 16,384, those 7 logs you are deleting is only about 1/2 a gig of data (16384 x 4096 x7 469,762,048). Most PCs nowadays have many times that space available.
Anyway, if you really do need to recalim that space, see below the quote from the Sys Admin Guide. It kinda implies that the space will be reclaimed whenever MQ feels like it.
Quote: |
LogPrimaryFiles=3|2-62
The log files allocated when the queue manager is created.
The minimum number of primary log files you can have is 2 and the
maximum is 62. The default is 3.
The total number of primary and secondary log files must not exceed 63, and
must not be less than 3.
The value is examined when the queue manager is created or started. You can
change it after the queue manager has been created. However, a change in the
value is not effective until the queue manager is restarted, and the effect might
not be immediate.
LogSecondaryFiles=2|1-61
The log files allocated when the primary files are exhausted.
The minimum number of secondary log files is 1 and the maximum is 61. The
default number is 2.
The total number of primary and secondary log files must not exceed 63, and
must not be less than 3.
The value is examined when the queue manager is started. You can change this
value, but changes do not become effective until the queue manager is
restarted, and even then the effect might not be immediate.
|
_________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
KAKOZ |
Posted: Mon Apr 05, 2004 12:58 am Post subject: |
|
|
Voyager
Joined: 26 Jan 2004 Posts: 90 Location: FRANCE
|
Hi Piotr, Peter,
- I see that the System Admin Guide says that it is possible to modify the number of primay and secondary files
- I suppose that we can increase or decrease this number because within the documentation nothing is said about the impossibility to decrease the number of log files
- they also say that 'the effect might not be immediate"
have you already made the test to decrease the number of primary log files and did you see the primary log files behind the max number deleted by the Qmgr? how long after the modification of the qm.ini file?
thanks for info
Jack |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|