Author |
Message
|
Vin |
Posted: Mon Nov 17, 2003 11:17 am Post subject: Ghost Queues - to delete or not to? |
|
|
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
|
Hi! I wanted to know why these Ghost Queues are created and would deleting them have any affects on the QueueManage? I wanted to delete them all but wanted to confirm before that. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Nov 17, 2003 12:39 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
What is a Ghost queue?
What gets shown when you display the properties of one of these Ghost queues using runmqsc? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bower5932 |
Posted: Mon Nov 17, 2003 12:49 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Here is a link:
http://www.mail-archive.com/mqseries@akh-wien.ac.at/msg10342.html
that has the following:
Quote: |
Users should NEVER need to use OS commands to modify the queue manager file tree. It would not be safe to delete files or directories associated with 'ghost queues'.
Ghost queues were introduced in 5.2 as part of the line item to reuse resources associated with dynamic queues. This line item resulted in very significant performance improvements to the creation of both permanent dynamic and temporary dynamic queues. In order to facilitate the reuse of the queue resources the queue file location is not based upon the queue name but is of the form "!!GHOST!id1!Counter1!id2!Counter2".
The queue manager tries to keep pools of reusable queue objects associated with the model queue from which the dynamic queues were created. The size of these pools is heuristically tuned. In emergencies the pool can be emptied by deleting and redefining the model queue.
|
Bottom line: Don't delete them. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Nov 17, 2003 3:04 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
bower5932 wrote: |
Bottom line: Don't delete them. |
Ooo. Important Safety Tip.  _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Carla Viragh |
Posted: Mon Jan 29, 2007 7:52 am Post subject: Ghost queues and linear log files |
|
|
 Voyager
Joined: 31 Oct 2003 Posts: 92 Location: São Paulo - Brasil
|
Just to help others in the future:
My queue manager wasn't able to decrease the linear logs using rcdmqimg, I found those GHOST queues and the procedure described here helped me... I deleted my model queue and recreated it again just like Bower said: "In emergencies the pool can be emptied by deleting and redefining the model queue". Now the logs are fine...
MQSeries Version: 520
CMVC level: p520-CSD03G
BuildType: IKAP - (Production) _________________ Carla Viragh |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jan 29, 2007 8:02 am Post subject: Re: Ghost queues and linear log files |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Carla Viragh wrote: |
MQSeries Version: 520
CMVC level: p520-CSD03G
BuildType: IKAP - (Production) |
With all respect, you may find improved logging and other benefits from an upgrade to a more recent version...
But thank you for posting your experiences for the benefit of all. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Carla Viragh |
Posted: Mon Jan 29, 2007 8:24 am Post subject: |
|
|
 Voyager
Joined: 31 Oct 2003 Posts: 92 Location: São Paulo - Brasil
|
I TOTALY agree with you...
This queue manager is part of a system that will be decommissioned in 2 months... That's why I suffered to find a solution
Hope nobody needs to use this tip
The new environment uses MQSeries 5.3 CSD 12  _________________ Carla Viragh |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jan 29, 2007 8:35 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Carla Viragh wrote: |
Hope nobody needs to use this tip
|
But if they do, they'll find solace in this posting and your suffering will not have been in vain. You might even get karma points...  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|