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 » WebSphere AS Sessions hammering a Qmgr

Post new topic  Reply to topic
 WebSphere AS Sessions hammering a Qmgr « View previous topic :: View next topic » 
Author Message
januckolls
PostPosted: Mon Jul 17, 2006 9:36 am    Post subject: WebSphere AS Sessions hammering a Qmgr Reply with quote

Newbie

Joined: 15 May 2003
Posts: 9

While running the MA0W API Crossing Exit against a Qmgr that was supplying messages to a WebSphere AS Connection Pool/JMS Listener/Message Driven Bean setup using client connections I noticed threads running on the MQ server that had an MQGET loop with a WaitInterval of 100 ms. Some were getting messages under syncpoint (with a path thru MQCMIT), others were not under syncpoint (no MQCMIT call). I am making the assumption that these were associated with Sessions defined under AS. Obviously, the Qmgr is getting hammered (server running at 80% CPU).

Not being a WebSphere AS whiz, I went searching for where you configure the WaitInterval in the Configuration Management panels and found nothing even remotely resembling that kind of control. Am I blind, or are we supposed to control the load on the MQ server through things like Reap Time, Unused Timeout, and Aged Timeout? That doesn’t seem like a very efficient way to control the number of unproductive MQGET’s being issued against the Qmgr.

I would really like to get at that MQGET WaitInterval!!

Cheers…
Jim Nuckolls
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jul 17, 2006 9:41 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Ask your developers to please not use JMS selectors.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
januckolls
PostPosted: Mon Jul 17, 2006 11:29 am    Post subject: Reply with quote

Newbie

Joined: 15 May 2003
Posts: 9

I would expect Get with Browse if JMS Selectors were in use that queried anything in the message (including the MQRH2 header) and these requests do not specify a browse operation in the GetMessageOptions. I will go back and check the MQMD structure prior to the get to see if a provider-specific MsgID or CorrelID was specified. I don't mind provider-specific fields but I do mind the 100 ms WaitInterval.

Cheers...
Jim
Back to top
View user's profile Send private message
januckolls
PostPosted: Fri Jul 21, 2006 11:53 am    Post subject: Reply with quote

Newbie

Joined: 15 May 2003
Posts: 9

For those that are interested in who the culprit was -

The listeners were specified as Non-ASF with the Non-ASF Timeout specified as 100 milliseconds. The timeout value is supplied as the WaitInterval on the MQGET. That interval was increased to 5,000 milliseconds which drastically reduced CPU utilization on the WebSphere AS machine as well as the Qmgr server machine. On the Qmgr side CPU utilization went from 52% to 21% The WebSphere AS documentation suggests setting this to a value that is slightly smaller than the transaction timeout value. For example, if transaction timeout is set to 120 seconds, then set Non-ASF Timeout to 110 seconds. Even though we tried the 110 second timeout value, some other setting (don't know which one yet) did not allow the value to increase past the 5 second value.
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 » IBM MQ Java / JMS » WebSphere AS Sessions hammering a Qmgr
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.