Author |
Message
|
exerk |
Posted: Sat Oct 30, 2010 3:07 am Post subject: |
|
|
 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 |
|
 |
jeevan |
Posted: Sat Oct 30, 2010 3:59 am Post subject: |
|
|
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 |
|
 |
J.D |
Posted: Mon Nov 08, 2010 4:19 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Mon Nov 08, 2010 8:57 pm Post subject: |
|
|
 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 |
|
 |
J.D |
Posted: Mon Nov 08, 2010 10:05 pm Post subject: |
|
|
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 |
|
 |
jeevan |
Posted: Tue Nov 09, 2010 4:42 am Post subject: |
|
|
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 |
|
 |
J.D |
Posted: Tue Nov 09, 2010 10:14 am Post subject: |
|
|
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 |
|
 |
|