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 » Depth Trigger on SYSTEM.JMS.ND.SUBSCRIBER.QUEUE?

Post new topic  Reply to topic
 Depth Trigger on SYSTEM.JMS.ND.SUBSCRIBER.QUEUE? « View previous topic :: View next topic » 
Author Message
tango
PostPosted: Thu Nov 19, 2009 3:25 am    Post subject: Depth Trigger on SYSTEM.JMS.ND.SUBSCRIBER.QUEUE? Reply with quote

Apprentice

Joined: 14 Mar 2007
Posts: 42

Can a depth trigger be applied to SYSTEM.JMS.ND.SUBSCRIBER.QUEUE?

I've set up triggering on depth for SYSTEM.JMS.ND.SUBSCRIBER.QUEUE to clear the queue down before it reaches max depth. INITQ is SYSTEM.DEFAULT.INITIATION.QUEUE and this triggers a process which calls this script:

# Get messages from queue using qload utility.
/opt/mqm/bin/qload -m QMGR -I SYSTEM.JMS.ND.SUBSCRIBER.QUEUE
# Reset depth trigger.
echo "alter ql(SYSTEM.JMS.ND.SUBSCRIBER.QUEUE) TRIGGER"|runmqsc QMGR

It doesn't work against SYSTEM.JMS.ND.SUBSCRIBER.QUEUE but does work for local queues I've created.

Any ideas?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Nov 19, 2009 6:24 am    Post subject: Re: Depth Trigger on SYSTEM.JMS.ND.SUBSCRIBER.QUEUE? Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

tango wrote:
I've set up triggering on depth for SYSTEM.JMS.ND.SUBSCRIBER.QUEUE to clear the queue down before it reaches max depth.


This seems an odd way of dealing with a full queue, especially a SYSTEM one. What's the requirement here?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
tango
PostPosted: Thu Nov 19, 2009 7:01 am    Post subject: Reply with quote

Apprentice

Joined: 14 Mar 2007
Posts: 42

We found that previous versions of MQ (we're on 7.0.1.0 now) didn't detect stale ND subs very quickly and the SYSTEM.JMS.ND.SUBSCRIBER.QUEUE fills up several times a day. A high QDepth here was a bit of a performance hit on pub/sub back when we were on Solaris. We're now on updated hardware so it's not so much of an issue (and setting a lower DurableSubMgrFrequency in v7 also seems to help).

The requirement is to prevent the SYSTEM.JMS.ND.SUBSCRIBER.QUEUE from reaching max-depth as it still can do once or twice a day. At present we have a java app configured to monitor for QDepth high events but I want to simplify this into a depth trigger.

Although we're running v7 Server, clients are still on v6. The above probably won't be required if/when they move to v7 client libs.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Nov 19, 2009 11:31 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

tango wrote:
We found that previous versions of MQ (we're on 7.0.1.0 now) didn't detect stale ND subs


I'm forced to ask why you have so many stale subscriptions (rhetorically) and if you've mentioned this to the application teams.

I would suspect there's something in the queue manager that's trying to protect the SYSTEM queue, or at least not expecting a trigger that the queue manager isn't setting itself.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
tango
PostPosted: Fri Nov 20, 2009 1:43 am    Post subject: Reply with quote

Apprentice

Joined: 14 Mar 2007
Posts: 42

max-depth of SYSTEM.JMS.ND.SUBSCRIBER.QUEUE currently set at 100k. It can hit that perhaps once or twice a week (was per day not so long ago). Yes app teams know and we're working to reduce this further. But in the meantime the auto clear down of this queue is still inplace when it reaches a certain level. I guess once or bi-weekly cleardown isn't too bad for a queue with an enqueue rate of 200k/min and 500+ subs at any given time. Thanks for your help.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Nov 20, 2009 10:22 pm    Post subject: Reply with quote

Grand High Poobah

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

tango wrote:
max-depth of SYSTEM.JMS.ND.SUBSCRIBER.QUEUE currently set at 100k. It can hit that perhaps once or twice a week (was per day not so long ago). Yes app teams know and we're working to reduce this further. But in the meantime the auto clear down of this queue is still inplace when it reaches a certain level. I guess once or bi-weekly cleardown isn't too bad for a queue with an enqueue rate of 200k/min and 500+ subs at any given time. Thanks for your help.

I'd say you need a better design.
Have each subscriber specify in the subscription a delivery queue for the subscription... You may have to create the aliases here as SYSTEM.JMS.ND.WHATEVER... This way you can have a real application queue be the target queue. You would also see much faster who the potential subscriber is that got disconnected and have the subscription be removed by some type of admin script?? And at the same time force a channel stop / restart on the app's TCF??

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Depth Trigger on SYSTEM.JMS.ND.SUBSCRIBER.QUEUE?
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.