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 » IBM MQ Java / JMS » Ghost Queues - to delete or not to?

Post new topic  Reply to topic
 Ghost Queues - to delete or not to? « View previous topic :: View next topic » 
Author Message
Vin
PostPosted: Mon Nov 17, 2003 11:17 am    Post subject: Ghost Queues - to delete or not to? Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Nov 17, 2003 12:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
bower5932
PostPosted: Mon Nov 17, 2003 12:49 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
jefflowrey
PostPosted: Mon Nov 17, 2003 3:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Carla Viragh
PostPosted: Mon Jan 29, 2007 7:52 am    Post subject: Ghost queues and linear log files Reply with quote

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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Jan 29, 2007 8:02 am    Post subject: Re: Ghost queues and linear log files Reply with quote

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
View user's profile Send private message
Carla Viragh
PostPosted: Mon Jan 29, 2007 8:24 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Jan 29, 2007 8:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Ghost Queues - to delete or not to?
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.