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 » Queue Manager locks up unpredictably - MQ 5.0 AIX 4.3.3

Post new topic  Reply to topic
 Queue Manager locks up unpredictably - MQ 5.0 AIX 4.3.3 « View previous topic :: View next topic » 
Author Message
jf647
PostPosted: Tue Aug 27, 2002 5:20 pm    Post subject: Queue Manager locks up unpredictably - MQ 5.0 AIX 4.3.3 Reply with quote

Newbie

Joined: 27 Aug 2002
Posts: 2

I'm running MQ 5.0 on AIX 4.3.3. Recently, the queue manager has begun to lock up, becoming completely unresponsive to requests. This situation continues until all application processes connected to MQ are killed, and the queue manager is brought down and restarted.

From the application's perspective, we see one of two situations:

- if the app was already connected when the queue manager went south, then MQGET calls return.

- if an application was not connected and attempts to connect, the MQCONN call blocks forever, and the process spins, eating up CPU time at at 1:1 ratio with real time.

From an admin standpoint, we sometimes see a single agent (amqzlaa0) process spinning. Sometimes we see all of the agents spinning, and sometimes we see no errors at all.

When this happens, there are generally a ton of FDC files created (no access to them from where I'm writing this - I can post a header if anyone thinks it will help), all of which indicate failed returns from semop or semctl.

We've been trying for a couple of weeks to get the problem to repeat predictably with no success. We are prepping for an upgrade to v5.2, but due to our environment the box exhibiting the most problems can't be upgraded until all of the production systems already have v5.2

A couple of thoughts that we haven't been able to determine a final answer on:

- is there a possibility that we are exceeded some OS-imposed limit on sems or shared memory segments?

- the Queue Manager has MAXHANDS defined as 256. Could this be causing issues?

Any help from people who've experienced symptoms like this would be greatly appreciated. These problems started happening sporadically at the start of our current development cycle (though there have not been many MQ-specific changes in this cycle), and we are very afraid that they will follow us into production if we can't find a specific cause and resolution.

Thanks.
_________________
--
j.

James FitzGibbon
Ajilon Consulting
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Tue Aug 27, 2002 11:29 pm    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

Have you been stopping applications using kill -9, I saw a similar sympthom a year ago, that was because there have been many kill -9 of processes using MQ.

The reason was shared storage was not freed after the kill, and therefore caused the systems to go down, when we figured that tou no more problems.

just my $0.02

PS: This was on HP-UX
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
jf647
PostPosted: Wed Aug 28, 2002 2:36 am    Post subject: Reply with quote

Newbie

Joined: 27 Aug 2002
Posts: 2

Our standard "take the daemons down" practice is to send SIGTERM several times, and only resort to SIGKILL if they are wedged. So in answer to your question, not as a matter of practice but when it is required.

Are you saying that when a program connected to MQ comes down because of SIGKILL that the shared MQ memory segments are not freed? If so, is there any way to determine if this is the case (i.e. get a report of which SHM ids are considered to be 'in use' by MQ and compare that against the output of ipcs?

Thanks.
_________________
--
j.

James FitzGibbon
Ajilon Consulting
Back to top
View user's profile Send private message
mrlinux
PostPosted: Wed Aug 28, 2002 3:51 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Well on HPUX and Iam sure it close to AIX, this will remove all the shared
memory (PS If you have multiple queue managers on the box dont do this)

ipcs | grep mqm | while read type id
do
ipcrm -$type $id
done
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
sjensen
PostPosted: Tue May 24, 2005 1:36 am    Post subject: Reply with quote

Centurion

Joined: 18 Dec 2003
Posts: 134
Location: London

Hi,

Or use amqiclen

Cheers
Stefan
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue May 24, 2005 12:52 pm    Post subject: Reply with quote

Grand High Poobah

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

MQ 5.0 on AIX 4.3 ???

If you are contemplating an upgrade don't go to MQ 5.2 which is already out of support. Go to MQ 5.3 or even better 6.0 (should come out end of this month) and AIX 5.2 maint level 3 or AIX 5.3 !!

Back to top
View user's profile Send private message Send e-mail
Anirud
PostPosted: Tue May 24, 2005 1:09 pm    Post subject: Reply with quote

Master

Joined: 12 Feb 2004
Posts: 285
Location: Vermont

fjb_saper wrote:
MQ 5.0 on AIX 4.3 ???

If you are contemplating an upgrade don't go to MQ 5.2 which is already out of support. Go to MQ 5.3 or even better 6.0 (should come out end of this month) and AIX 5.2 maint level 3 or AIX 5.3 !!


Incase you didn't notice, the original post is dated 27th Aug., 2002.
Back to top
View user's profile Send private message Visit poster's website
bower5932
PostPosted: Tue May 24, 2005 1:10 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Check the date out on this. This is from 2002 with a stray append from yesterday....
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
fjb_saper
PostPosted: Tue May 24, 2005 1:11 pm    Post subject: Reply with quote

Grand High Poobah

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

Sorry I saw Stefan's posting and thought that amqiclen only came with 5.3.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Queue Manager locks up unpredictably - MQ 5.0 AIX 4.3.3
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.