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 » WebSphere Message Broker (ACE) Support » force stop a message flow in broker

Post new topic  Reply to topic
 force stop a message flow in broker « View previous topic :: View next topic » 
Author Message
mca
PostPosted: Thu Dec 20, 2012 9:04 pm    Post subject: force stop a message flow in broker Reply with quote

Disciple

Joined: 09 Mar 2005
Posts: 196

i am trying to stop a message flow in Broker. It does not stop. I tried to look for force stop option, but i don't see it.

Isn't there a force stop option like "-i" to immediately stop Queue Manager
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
lancelotlinc
PostPosted: Fri Dec 21, 2012 8:12 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

kill -9

This can result from running the Broker with a service Id of mqm. The Broker service id should never be mqm.

http://www.mqseries.net/phpBB2/viewtopic.php?t=61512
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Fri Dec 21, 2012 8:52 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

lancelotlinc wrote:
kill -9



How does that command work on Windows?

Using 'kill -9' also requires that you know what processes to stop.

Where in the OP does it say that the user ID is 'mqm'?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Dec 21, 2012 8:57 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

smdavies99 wrote:
lancelotlinc wrote:
kill -9



How does that command work on Windows?

Using 'kill -9' also requires that you know what processes to stop.

Where in the OP does it say that the user ID is 'mqm'?


All good points. More info is needed in the post to be conclusive.

With Windows, you can right click from the Process Manager.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mca
PostPosted: Fri Dec 21, 2012 11:57 am    Post subject: Reply with quote

Disciple

Joined: 09 Mar 2005
Posts: 196

My flow is running on Linux. I tried to grep the Process ID using ps -ef|grep msgflowName and it gives me dataflowengine processid. I do kill -9 <pid>.

It still doesn't work. I need the broker to be running, but just stop this running flow. Any other options?
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
lancelotlinc
PostPosted: Fri Dec 21, 2012 12:18 pm    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

mca wrote:
My flow is running on Linux. I tried to grep the Process ID using ps -ef|grep msgflowName and it gives me dataflowengine processid. I do kill -9 <pid>.

It still doesn't work. I need the broker to be running, but just stop this running flow. Any other options?


Don't use mqm as your Broker service Id, then you wont have the problem to begin with.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mca
PostPosted: Fri Dec 21, 2012 12:23 pm    Post subject: Reply with quote

Disciple

Joined: 09 Mar 2005
Posts: 196

mqsireload solved the issue. Thanks for all your help.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
Vitor
PostPosted: Fri Dec 21, 2012 12:31 pm    Post subject: Reply with quote

Grand High Poobah

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

lancelotlinc wrote:
Don't use mqm as your Broker service Id, then you wont have the problem to begin with.


How do you know that's the OP's problem? There are many reasons a flow won't stop. Badly written ESQL is the most common reason in my experience and no choice of service id will prevent this.

And before you start about build processes, testing and how this should never happen, there's nothing to indicate this is a Prod environment. Just that the broker needs to keep running, which could easily be a busy shared Dev environment.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Dec 21, 2012 1:04 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Vitor wrote:


How do you know that's the OP's problem? There are many reasons a flow won't stop. Badly written ESQL is the most common reason in my experience and no choice of service id will prevent this.

And before you start about build processes, testing and how this should never happen, there's nothing to indicate this is a Prod environment. Just that the broker needs to keep running, which could easily be a busy shared Dev environment.


Well Said Sir Vitor.

If you have never coded a while/for loop and forgot to increment the counter then you have obviously never done much programming. After 40+ years of programming even I am sad to say make the occassional mistake when coding.
Then you see the CPU load go to 100% and then you realise how silly/stupid you have been have egg on you face.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » WebSphere Message Broker (ACE) Support » force stop a message flow in broker
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.