Author |
Message
|
rsk33 |
Posted: Wed Apr 22, 2009 6:14 am Post subject: Ghost queues |
|
|
Centurion
Joined: 21 Aug 2006 Posts: 141
|
Hi,
It is observed recently that there are many temp dynamic queues were created in the prod broker Qmanager. we are not using any application that open or create a dynamic queue except a model queue
SYSTEM.MQEXPLORER.REPLY.MODEL for the MQ explorer. I understand from the net these will be removed once the qmanager restarted and the Qmanager restarts happens very rarely.
my question is
why there are many temp dynamic queues were created. Is it a resource problem. Qmanager is using circular logging.
Help is highly appriciated.
regards |
|
Back to top |
|
 |
Vitor |
Posted: Wed Apr 22, 2009 6:22 am Post subject: Re: Ghost queues |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
rsk33 wrote: |
I understand from the net these will be removed once the qmanager restarted |
Also when the creating application disconnects. If it disconnects properly.
Are you certain these are MQExplorer queues? It's fairly well behaved in my experience.
rsk33 wrote: |
Is it a resource problem. Qmanager is using circular logging. |
It's unlikely to be a resource or logging problem. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Apr 22, 2009 6:40 am Post subject: Re: Ghost queues |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
Are you certain these are MQExplorer queues? It's fairly well behaved in my experience. |
It's unlikely that a single instance of MQ Explorer would be causing this symptom.
A squadron of well-meaning developers with access to MS0T, however... |
|
Back to top |
|
 |
Vitor |
Posted: Wed Apr 22, 2009 6:42 am Post subject: Re: Ghost queues |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
A squadron of well-meaning developers with access to MS0T, however... |
Ah....good point!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Apr 22, 2009 7:00 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9472 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
Also when the creating application disconnects. If it disconnects properly. |
Or closes the queue.
What are the names of the temp dynamic queues? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
rsk33 |
Posted: Wed Apr 22, 2009 11:39 pm Post subject: |
|
|
Centurion
Joined: 21 Aug 2006 Posts: 141
|
thanks for the response.
we have two instances of MQ explorer connected to the Qmanagers.
The temp dynamic queue names are like AMQ.XXXX and AMQ.EXPLORER.xxxx.i have checked the queue directory it contains the names like !Ghost!xxxx corresponding to this temp dynamic queues.
The MQ explorer is configured with auto connect and auto refresh
regards |
|
Back to top |
|
 |
manicminer |
Posted: Thu Apr 23, 2009 1:17 am Post subject: |
|
|
 Disciple
Joined: 11 Jul 2007 Posts: 177
|
rsk33 wrote: |
thanks for the response.
we have two instances of MQ explorer connected to the Qmanagers.
The temp dynamic queue names are like AMQ.XXXX and AMQ.EXPLORER.xxxx.i have checked the queue directory it contains the names like !Ghost!xxxx corresponding to this temp dynamic queues.
The MQ explorer is configured with auto connect and auto refresh
regards |
The MQ Explorer (assuming it is the up to date V6 version) will be creating the AMQ.EXPLORER ones. IIRC there was a bug in the older version of the V6 explorer that meant it created AMQ.XXX queues instead of the intended AMQ.EXPLORER queues.
So either you have an older version somewhere that is connecting and creating AMQ.XXX queues or there is another app creating dynamic queues.
Of course that doesn't help with why they are not being cleaned up. I wonder if it is due to the explorer being run on a laptop and the laptop being suspended without closing the connection, and there is a long timeout involved somewhere? _________________ Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Apr 23, 2009 3:40 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
The QM maintains a pool of ghost queues to satisfy requests for new dynamic queues. Its faster to pull a ghost queue and send it into action then it is to create a new one. Its not abnormal to see more ghost queues that active dynamic queues.
I am 99.9% sure this is true. I can't find the reference to this right now, but I remember reading something like this a while ago.
Let the trout fly if I'm wrong. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
Vitor |
Posted: Thu Apr 23, 2009 3:45 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
PeterPotkay wrote: |
Let the trout fly if I'm wrong. |
I think you're safe. I found this:
http://www-01.ibm.com/support/docview.wss?uid=swg21237907
and was pleased to discover something I didn't know about WMQ.
I like my sig.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
rsk33 |
Posted: Thu Apr 23, 2009 4:05 am Post subject: |
|
|
Centurion
Joined: 21 Aug 2006 Posts: 141
|
Thanks victor,
The link provided by you will help to resolve the issue.
regards |
|
Back to top |
|
 |
|