|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
How to stop a queue manager which is in ending state |
« View previous topic :: View next topic » |
Author |
Message
|
bruce2359 |
Posted: Tue Dec 08, 2009 5:58 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9482 Location: US: west coast, almost. Otherwise, enroute.
|
Code: |
I'm still missing how endmqm -i can cause harm to data. |
I had not intended to find fault with -i in my post. Rather, I was puzzling over the need to -i or -p as a routine practice.
Bad coding seems to be a common thread for the need to -i and -p. Clearly, well-written code anticipates things like UofW's, and FAIL_IF. Bad coding includes non-persistent messages because of the possibility of message loss. Again, I wasn't pointing my digital digit at -i for this.
"...had the qmgr stayed up, the (non-persistent) message wouldn't have been lost." This is the defense that a client app developer tried to use on the sysadmin (and me). The sysadmin's contribution to this was "...we always shut the qmgr down at midnight. I don't know why, but we've been doing that since v5.1 or something." No sign of intelligent life in this conversation. _________________ 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 |
|
 |
Blomman |
Posted: Fri Dec 11, 2009 11:52 am Post subject: |
|
|
Master
Joined: 31 Oct 2006 Posts: 230
|
csmith28 wrote: |
ps -ef | grep mqm | grep -v grep | awk '{print $2}' | xargs kill -9 |
Wont work if process is in IO wait... |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 11, 2009 12:50 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20767 Location: LI,NY
|
Blomman wrote: |
csmith28 wrote: |
ps -ef | grep mqm | grep -v grep | awk '{print $2}' | xargs kill -9 |
Wont work if process is in IO wait... |
That may be why there is an exact order for the killing the processes described in the admin manual. Follow it. You seldom have to go down to the bottom of the list. After killing process x and y usually the rest then just shutdown...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Dec 11, 2009 1:05 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9482 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
After killing process x and y usually the rest then just shutdown... |
And if they don't, re-boot. Clearly (he said cynically and sarcastically), this is better than getting the applications coded correctly. _________________ 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 |
|
 |
exerk |
Posted: Fri Dec 11, 2009 2:57 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
bruce2359 wrote: |
...Clearly (he said cynically and sarcastically), this is better than getting the applications coded correctly... |
And just how much does a reboot cost? MQ 101 - it's always our fault, no matter what... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
mvic |
Posted: Sat Dec 12, 2009 4:19 pm Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
Blomman wrote: |
Wont work if process is in IO wait... |
Won't work, in what way?
If your objective is to end the queue manager, sending signal 9 to all the queue manager processes is certainly a certain way of achieving that.
But anyway (as no-one has said yet..) it is not helping yourself or your fellow MQ professionals if you kill MQ this way without taking some information first. If endmqm is taking a long time, take a 60 second "-t all -t detail" trace. Then you have something to describe what was really going on inside MQ, and can supply it to IBM service. It won't be enough in every circumstance, but it is much better than nothing at all. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|