ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Changing and cleaning MQ logfile in Windows

Post new topic  Reply to topic Goto page Previous  1, 2
 Changing and cleaning MQ logfile in Windows « View previous topic :: View next topic » 
Author Message
exerk
PostPosted: Sat Oct 30, 2010 3:07 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

J.D wrote:
...MQ doesn't pre-allocate disk space for log files, it takes space on deamand and releases later i guess.


Not quite accurate. Primaries are always pre-allocated, therefore you need sufficient space for them at queue manager creation time. Secondaries are allocated on an as-needed basis, but you can guess what happens if they are needed and there is insufficient space for them.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
jeevan
PostPosted: Sat Oct 30, 2010 3:59 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

exerk wrote:
J.D wrote:
...MQ doesn't pre-allocate disk space for log files, it takes space on deamand and releases later i guess.


Not quite accurate. Primaries are always pre-allocated, therefore you need sufficient space for them at queue manager creation time. Secondaries are allocated on an as-needed basis, but you can guess what happens if they are needed and there is insufficient space for them.


That is rigjht. I have seen that situation. There is provision of secondary log files but not the space. That does not make any sense. When there is possibility of creatioin of these log file, we have to leave the necessary space.
Back to top
View user's profile Send private message
J.D
PostPosted: Mon Nov 08, 2010 4:19 pm    Post subject: Reply with quote

Voyager

Joined: 18 Dec 2009
Posts: 92
Location: United States

exerk wrote:
J.D wrote:
...MQ doesn't pre-allocate disk space for log files, it takes space on deamand and releases later i guess.


Not quite accurate. Primaries are always pre-allocated, therefore you need sufficient space for them at queue manager creation time. Secondaries are allocated on an as-needed basis, but you can guess what happens if they are needed and there is insufficient space for them.


I am still confused on space allocation for primary log files during qmgr creation. We have a unix test server with 19 GB of space for /var/mqm and there are 4 qmgr's.
Qmgr1: lf=4095 & lp=150 --> 2.34 GB
Qmgr2: lf=4095 & lp=150 --> 2.34 GB
Qmgr3: lf=65535 & lp=10 --> 2.49 GB
Qmgr4: lf=65535 & lp=21 --> 5.22 GB
As per Exerk, i should have only 7 GB of free space under /var/mqm/ after pre-allocation but i am seeing more than 14 GB of free space.
_________________
IBM WebSphere MQ & WAS Administrator
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Nov 08, 2010 8:57 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

You sure about that?
What does df -k /var/mqm say?
What does df -k /var/mqm/logs say?

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
J.D
PostPosted: Mon Nov 08, 2010 10:05 pm    Post subject: Reply with quote

Voyager

Joined: 18 Dec 2009
Posts: 92
Location: United States

Yes i am sure about it. Both df -k /var/mqm and df -k /var/mqm/log showing more free disk space than it supposed to.
_________________
IBM WebSphere MQ & WAS Administrator
Back to top
View user's profile Send private message
jeevan
PostPosted: Tue Nov 09, 2010 4:42 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

J.D wrote:
Yes i am sure about it. Both df -k /var/mqm and df -k /var/mqm/log showing more free disk space than it supposed to.


If it is so, then the # of log files could have been increased after the qmgr were created. Otherwise it is not possible. The increased log files would behave as secondary log files meaning they will be created as and when needed.
Back to top
View user's profile Send private message
J.D
PostPosted: Tue Nov 09, 2010 10:14 am    Post subject: Reply with quote

Voyager

Joined: 18 Dec 2009
Posts: 92
Location: United States

jeevan wrote:
J.D wrote:
Yes i am sure about it. Both df -k /var/mqm and df -k /var/mqm/log showing more free disk space than it supposed to.


If it is so, then the # of log files could have been increased after the qmgr were created. Otherwise it is not possible. The increased log files would behave as secondary log files meaning they will be created as and when needed.


You are right. Queue Manager pre-allocates space for primary log files which were mentioned during its creation. It doesn't pre-allocate if log files were changed after qmgr creation.
_________________
IBM WebSphere MQ & WAS Administrator
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » Changing and cleaning MQ logfile in Windows
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.