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 » IBM MQ Java / JMS » why the queues are often hanging

Post new topic  Reply to topic Goto page 1, 2  Next
 why the queues are often hanging « View previous topic :: View next topic » 
Author Message
sivaram_mca
PostPosted: Tue Oct 04, 2005 3:36 am    Post subject: why the queues are often hanging Reply with quote

Newbie

Joined: 04 Oct 2005
Posts: 5
Location: chennai

In which situations the queues of ibm mq may hang and what are solutions for it.
Back to top
View user's profile Send private message Yahoo Messenger
wschutz
PostPosted: Tue Oct 04, 2005 4:24 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Can you give more details of your problem? You haven't given enought information for us to help you.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
sivaram_mca
PostPosted: Tue Oct 04, 2005 4:40 am    Post subject: Websphere MQ Problem Reply with quote

Newbie

Joined: 04 Oct 2005
Posts: 5
Location: chennai

Hi
Websphere MQ hangs sometimes in our production environment spontaneously. We dont know reason behind and we assume the system is not restarted for a long time. When we restart the system the queues are set right. We are not able to get the data from the hanged queues even if we run the process definition from command prompt. The messages all of a sudden disappear and we have to resend the request to get the responses.
On what occasions the triggermonitor fails???
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Tue Oct 04, 2005 4:43 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Queues don't hang.

They are data stores - like a database table. Database tables don't hang.

Database server processes may hang. Similarly, MQ server processes may hang... but almost never.

Applications hang all the time. Because programmers are sloppy.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
sivaram_mca
PostPosted: Tue Oct 04, 2005 4:51 am    Post subject: MQ Problem Reply with quote

Newbie

Joined: 04 Oct 2005
Posts: 5
Location: chennai

Hey
Queue hangs means the Queuemanager is not responding . The trigger failing. That to not all times when the queuemanagers are heavily loaded. It even goes to the no response state when the server is loaded less
Back to top
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Tue Oct 04, 2005 5:23 am    Post subject: Reply with quote

Grand High Poobah

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

If you are working in a request response pattern and the server does not respond you might check a number of things

a) do the messages have an expiry time set and has it been reached ?

Reasons for that can be
a -1) Network problems
a -2) Load problems -- expiry happens before the message can be read

b) are your messages non persistent ?
b -1) Network problems may cause loss of messages at the channel level.

Under network problems add bandwidth usage...

So you see the problems may be caused by a number of things completely out of the MQ responsability domain....

As well if you are working with triggering you might want to make sure the trigger is set to run a background process so that the next queue triggering doesn't have to wait until your triggered process is done....

Enjoy
Back to top
View user's profile Send private message Send e-mail
hopsala
PostPosted: Tue Oct 04, 2005 5:49 am    Post subject: Re: MQ Problem Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

sivaram_mca wrote:
Queue hangs means the Queuemanager is not responding

You must look in the error logs; even though mq rarely hangs, there are too many possible reasons, listing them all is not applicable.

sivaram_mca wrote:
The trigger failing. That to not all times when the queuemanagers are heavily loaded. It even goes to the no response state when the server is loaded less

I'm afraid your English is very unclear, so I can't quite get what you're trying to say; what do you mean by "trigger failing"? do you mean the trigger monitor crashes? Or simply that the mechanism doesn't work?
I recommned you read the triggering chapter (application programming guide) thouroughly, many people who think they know the proper conditions for a trigger to occur are surprised to see they had no knowledge of many important case scenarios.

sivaram_mca wrote:
When we restart the system the queues are set right. We are not able to get the data from the hanged queues even if we run the process definition from command prompt. The messages all of a sudden disappear and we have to resend the request to get the responses.

Well, two options, the first one being more likely: Either you are using non-persistent messages, which are deleted on restart by design, or you're application gets them and throws them away.
Read the manuals concerning persistent and non-persistent messages, it's a very (!) important topic.
Back to top
View user's profile Send private message
sivaram_mca
PostPosted: Wed Oct 05, 2005 3:33 am    Post subject: Reply with quote

Newbie

Joined: 04 Oct 2005
Posts: 5
Location: chennai

yes our messages are non persistent,if we use persistence mechnism it will slower the performance of the application,then what is the solution for it without using persistence messages sir
Back to top
View user's profile Send private message Yahoo Messenger
sivaram_mca
PostPosted: Wed Oct 05, 2005 3:36 am    Post subject: Reply with quote

Newbie

Joined: 04 Oct 2005
Posts: 5
Location: chennai

"Trigger failing" means simply that the mechanism doesn't work sir
Back to top
View user's profile Send private message Yahoo Messenger
hopsala
PostPosted: Wed Oct 05, 2005 4:16 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

sivaram_mca wrote:
yes our messages are non persistent,if we use persistence mechnism it will slower the performance of the application,then what is the solution for it without using persistence messages sir

Sir eh?

You see, old chap, I fear that yonder WMQ deletes non-persistent messages upon restart by design; additionally, channels that encounter a problematic non-persistent msg and use NPMSPEED(FAST) will simply chuck the message. There is no way to change this behavior, other than to work with persistent messages; that's what non-persistent means - non recoverable. Bear in mind, "faster"/"slower" is of no importance, there is only "fast enough" according to one's needs.

Concerning performance, it is true that usually there's a good 30% degredation when switching to persistent messags, but most sites do not need half the speed WMQ provides anyhow; I advise you try switching to persistent messages, most probably it will be fast enough, even jolly faster than you require.

Yours Sincerely,
Lord Hopsala Humpton Pompernickle Esq.
Back to top
View user's profile Send private message
hopsala
PostPosted: Wed Oct 05, 2005 4:19 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

sivaram_mca wrote:
"Trigger failing" means simply that the mechanism doesn't work sir

Ah, but where are the details, man? Definitions, error log entries, exact pathological description of occurrences, what what?
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed Oct 05, 2005 4:31 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

The trigger mechanism DOES work.
Please check that the 14 conditions for triggering ave been met before you assert that it does not work.

As hopsala says, where are the detrails?

BTW, people in England do not really talk like that...
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
hopsala
PostPosted: Wed Oct 05, 2005 5:47 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

Nigelg wrote:
BTW, people in England do not really talk like that...

Apologies, but sivaram's twofold repetition of "sir" at the end of each sentence triggered some recondite genetic Elizabethian self

p.s congrats on newly annoited grand-masterism!
Back to top
View user's profile Send private message
MQnewbee
PostPosted: Tue Nov 01, 2005 5:41 pm    Post subject: Remove Dead Message from the queue Reply with quote

Newbie

Joined: 17 Oct 2005
Posts: 7
Location: USA

Hi,

Does any know how to remove dead message from the queue?

Our system received a message which throws a exception error and it's been kept throwing back to the queue for the system to reprocess it. There are some code fixes need to be done in the system down the road.

Is there any quick way to remove the dead message from MQ 5.3. Please advice.

Thanks!
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Tue Nov 01, 2005 11:40 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

newbee, your post is not related to this thread, you should create your own thread.

anyway, what is a dead message? a message in the dead letter queue or just in any other queue?

if you want to delete a message (or all) in the queue there is a clear qlocal command, or use some of the tools around to get the message from the queue, or use one of the supplied samples (amqsget) or or
or .....
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » IBM MQ Java / JMS » why the queues are often hanging
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.