Author |
Message
|
omodarah |
Posted: Wed Nov 23, 2005 10:05 am Post subject: SYSTEM.ADMIN.CHANNEL.EVENT messages |
|
|
Apprentice
Joined: 09 Sep 2004 Posts: 26
|
Hi All,
My SYSTEM.ADMIN.CHANNEL.EVENT Queue is showing a current Queue Deth of 3000, but when I check the Queue there are only 49 messages in it, does anyone know why this happens and what I can do to get the Current Queue depth to show the correct # of messages?
All the other Queues on the system are showing the correct Queue depth for the messages in the Queue. My platform is iSeries
Thanks in advance. |
|
Back to top |
|
 |
wschutz |
Posted: Wed Nov 23, 2005 11:05 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
What are you using to look at the curdepth? _________________ -wayne |
|
Back to top |
|
 |
omodarah |
Posted: Wed Nov 23, 2005 11:12 am Post subject: |
|
|
Apprentice
Joined: 09 Sep 2004 Posts: 26
|
wschutz wrote: |
What are you using to look at the curdepth? |
Using option 18 to view the Queue associated with a Queue Manager shows me the depth, or I can use 5 to display and 12 to work with the actual messages on the iSeries.
Thanks |
|
Back to top |
|
 |
wschutz |
Posted: Wed Nov 23, 2005 11:25 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Interesting, what is the maxdepth on that queue? (is it by chance 3000?). Its hard to believe that you have exactly that number of messages on that queue. _________________ -wayne |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Nov 23, 2005 11:45 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
The default value for the max depth for this queue is 3000.
The other 2951 messages were probably expired, so when you went to go look at them, they went away. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
omodarah |
Posted: Wed Nov 23, 2005 12:06 pm Post subject: |
|
|
Apprentice
Joined: 09 Sep 2004 Posts: 26
|
PeterPotkay wrote: |
The default value for the max depth for this queue is 3000.
The other 2951 messages were probably expired, so when you went to go look at them, they went away. |
Thanks Wayne/Peter, Yes the Maximum Queue Depth is 3000, How do I get it to show me the correct Queue Depth now? Do I need to restart the Queue Manager?
Type options, press Enter.
2=Change 3=Copy 4=Delete 5=Display 12=Work with messages ...
Opt Name Type Depth Jobs
SYSTEM.ADMIN.CHANNEL.EVENT *LCL 3000 0
SYSTEM.ADMIN.COMMAND.QUEUE *LCL 0 1
SYSTEM.ADMIN.PERFM.EVENT *LCL 0 0
SYSTEM.ADMIN.QMGR.EVENT *LCL 1 0
SYSTEM.AUTH.DATA.QUEUE *LCL 64 1
SYSTEM.CHANNEL.INITQ *LCL 0 1 |
|
Back to top |
|
 |
Toronto_MQ |
Posted: Wed Nov 23, 2005 12:45 pm Post subject: |
|
|
 Master
Joined: 10 Jul 2002 Posts: 263 Location: read my name
|
I don't think event messages expire? At least on my iSeries box the expiry field on them is set to unlimited...
Steve |
|
Back to top |
|
 |
kevinf2349 |
Posted: Wed Nov 23, 2005 7:42 pm Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
You are quite correct. They don't expire, but once the queue gets full they don't get written either.  |
|
Back to top |
|
 |
wschutz |
Posted: Thu Nov 24, 2005 3:06 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
But after you "look" at the messages and see there's only 49 of them, do you still see 3000 messages in the curdepth?
(and excuse this question, but are you sure you weren't confusing the curdepth with maxdepth on the display? ) _________________ -wayne |
|
Back to top |
|
 |
omodarah |
Posted: Thu Nov 24, 2005 6:58 am Post subject: |
|
|
Apprentice
Joined: 09 Sep 2004 Posts: 26
|
wschutz wrote: |
But after you "look" at the messages and see there's only 49 of them, do you still see 3000 messages in the curdepth?
(and excuse this question, but are you sure you weren't confusing the curdepth with maxdepth on the display? ) |
As you will see below it is the current queue depth. I copied this straight off the display.
Thanks
Display MQ Queue
Creation time . . . . . . . . : 13.50.48
Last alter date . . . . . . . : 2003-03-30
Last alter time . . . . . . . : 17.25.36
Open input count . . . . . . . : 0
Open output count . . . . . . : 0
Current queue depth . . . . . : 3000 |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu Nov 24, 2005 8:27 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
OK the current depth is 3000 in the display. From your display nothing has the queue open, so...
Open the queue and do a display again and post the results please
Quote: |
but when I check the Queue there are only 49 messages in it, |
how are you checking the queue? |
|
Back to top |
|
 |
omodarah |
Posted: Thu Nov 24, 2005 10:53 am Post subject: |
|
|
Apprentice
Joined: 09 Sep 2004 Posts: 26
|
kevinf2349 wrote: |
OK the current depth is 3000 in the display. From your display nothing has the queue open, so...
Open the queue and do a display again and post the results please
Quote: |
but when I check the Queue there are only 49 messages in it, |
how are you checking the queue? |
If I open the Queue, I get pages of 49 messages, I dont think that will be useful.
Using option 18 to view the Queue associated with a Queue Manager shows me the depth, or I can use 5 to display and 12 to work with the actual messages on the Queue. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Nov 24, 2005 3:15 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Um.
Are you sure you are only getting one page of 49 messages... are you sure there aren't 60 or so more pages after the first? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
omodarah |
Posted: Fri Nov 25, 2005 10:42 am Post subject: |
|
|
Apprentice
Joined: 09 Sep 2004 Posts: 26
|
jefflowrey wrote: |
Um.
Are you sure you are only getting one page of 49 messages... are you sure there aren't 60 or so more pages after the first? |
Jeff, I checked the Queue before I had a few Beers and then I checked again afterwards and their were still only 49 messages. I'd like to think at this point in my life I know when to use Page Down.
By the way IBM's explanation is that if you have uncommited messages in the even queue, MQ has no way of removing the messages eventhough I cant see them, they are there. They suggest rebooting the Queue Manager or deleting and recreating the Event Queue. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Nov 25, 2005 10:48 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
omodarah wrote: |
Jeff, I checked the Queue before I had a few Beers and then I checked again afterwards and their were still only 49 messages. I'd like to think at this point in my life I know when to use Page Down. |
Sometimes these panels get tricky, and using Page Down isn't always the right thing - there might be a Next Page button and etc... And I have seen people ask a similar question, where the problem really was that they hadn't noticed that there were more results available.
And it is hard to tell how confused someone is or how much or little experience they have.
It would seem odd for there to be uncommitted messages in SYSTEM.ADMIN.CHANNEL.EVENT. Do you have a monitoring tool that tries to get these, and is leaving them in an uncommited state? Did you ask IBM how there could be uncommitted messages in this queue?
Also, there are some tools (at least on distributed, I don't know about iSeries) for forcing transactions to commit or rollback. You might dig into your iSeries manuals and see what's available, or follow up in your PMR. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|