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 » Problems with channel initiator

Post new topic  Reply to topic
 Problems with channel initiator « View previous topic :: View next topic » 
Author Message
mattfarney
PostPosted: Fri Feb 19, 2010 2:20 pm    Post subject: Problems with channel initiator Reply with quote

Disciple

Joined: 17 Jan 2006
Posts: 167
Location: Ohio

Occasionally, I'll find message sitting in a xmitq. Presumably, a trigger was sent to the SYSTEM.CHANNEL.INITQ and processed, but for whatever reason, the channel does not get started.

I had that problem happen today for several channels on the same QM. I looked through the AMQERR##.log files and found no issues related to the channel initiator.

According to the GUI, the channel initiator was running normally (the logs back this up, showing start times from when the QM was recycled.)

I'm just curious if others have seen this odd behavior.
It's not repeatable, but it happens enough that it is not a fluke either.

I've tried populating trigdata with the actual channel name, but the problem isn't repeatable enough to see if that really helped or not.

-mf
Back to top
View user's profile Send private message
mattfarney
PostPosted: Fri Feb 19, 2010 2:21 pm    Post subject: Reply with quote

Disciple

Joined: 17 Jan 2006
Posts: 167
Location: Ohio

BTW, I've seen this on Windows, Unix, and zOS.
Atm, I think these systems are all 6.0.2

-mf
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Feb 19, 2010 6:39 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

If something occasionally has your XMITQ open for MQGETs, maybe only to browse it cuz they are nosy, that makes IPROCS > 0 and that makes MQ triggering not create a trigger messages when an app message hits the queue.

Post your XMITQ definitions.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat Feb 20, 2010 7:52 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
Presumably, a trigger was sent to the SYSTEM.CHANNEL.INITQ and processed, but for whatever reason, the channel does not get started.

Presumably? Did you verify this? Did you verify that the xmitq was correctly set for triggering? That the channel initiator app was monitoring the same initq as specified in the xmitq definition? Did any of the trigger messages end up in the dead-letter queue?

What did you check?
_________________
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
View user's profile Send private message
mattfarney
PostPosted: Sun Feb 21, 2010 11:12 am    Post subject: Reply with quote

Disciple

Joined: 17 Jan 2006
Posts: 167
Location: Ohio

So if there are monitoring programs (or people frequently use the MQExplorer), you run the risk of the channel initiator thinking the channel is already running?

How much of a performance hit is it to run as Trigger Every versus Trigger First?

-mf
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Feb 21, 2010 11:34 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
So if there are monitoring programs (or people frequently use the MQExplorer), you run the risk of the channel initiator thinking the channel is already running?

What? No. The explorer has nothing to do with channel initiators behavior.
Did you create a channel initiator object? Or are you using the runmqchi control program channel initiator?
Quote:
How much of a performance hit is it to run as Trigger Every versus Trigger First?

If we're still talking about the channel initiator, TrigType(first) is adequate.
If you are contemplating TrigType(every), search here for extensive discussions on this.
_________________
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
View user's profile Send private message
fjb_saper
PostPosted: Sun Feb 21, 2010 2:10 pm    Post subject: Reply with quote

Grand High Poobah

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

mattfarney wrote:
So if there are monitoring programs (or people frequently use the MQExplorer), you run the risk of the channel initiator thinking the channel is already running?

How much of a performance hit is it to run as Trigger Every versus Trigger First?

-mf


The big question here is did somebody get enable the xmitq for browsing purpose, after stopping the channel? The channel would then have to be started manually. And if the channel gets started manually you better make sure before it gets started that the the ipprocs show 0. Otherwise the system might think the channel is already running....

Depending on the version and fix pack and channel config, I have also seen this type of behavior if the channel name was not in the trigdata of the xmitq, even though it should not be necessary to put it there.

Have fun.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Sun Feb 21, 2010 3:50 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Do not use Trigger Every for channels,


When you say you see a message on the queue, what does that mean? The channel is to running and the message is sitting there and you can browse it? Or the q depth is > 0, the channel may or may not be running, and if you try and look at the message it says there is no message?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
mattfarney
PostPosted: Mon Feb 22, 2010 8:49 am    Post subject: Reply with quote

Disciple

Joined: 17 Jan 2006
Posts: 167
Location: Ohio

fjb_saper wrote:
Depending on the version and fix pack and channel config, I have also seen this type of behavior if the channel name was not in the trigdata of the xmitq, even though it should not be necessary to put it there.


This is what I think I'm seeing. In a couple of environments, I went ahead and filled in the trigdata and the problem did not seem to recur.

Is there any downside to filling the trigdata of the xmitq with the correct channel name?

-mf
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Feb 22, 2010 8:58 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
Is there any downside to filling the trigdata of the xmitq with the correct channel name?

No. This is the documented way to get a channel triggered.
_________________
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
View user's profile Send private message
zonko
PostPosted: Mon Feb 22, 2010 11:41 pm    Post subject: Reply with quote

Voyager

Joined: 04 Nov 2009
Posts: 78

Quote:
if the channel name was not in the trigdata of the xmitq


This was a bug in v6 GA, which is quite old now!
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 » General IBM MQ Support » Problems with channel initiator
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.