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 » How to stop a queue manager which is in ending state

Post new topic  Reply to topic Goto page Previous  1, 2
 How to stop a queue manager which is in ending state « View previous topic :: View next topic » 
Author Message
bruce2359
PostPosted: Tue Dec 08, 2009 5:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Blomman
PostPosted: Fri Dec 11, 2009 11:52 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Fri Dec 11, 2009 12:50 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Fri Dec 11, 2009 1:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Fri Dec 11, 2009 2:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
mvic
PostPosted: Sat Dec 12, 2009 4:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » How to stop a queue manager which is in ending state
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.