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 » Messages getting piled up (HSTATE ??)

Post new topic  Reply to topic
 Messages getting piled up (HSTATE ??) « View previous topic :: View next topic » 
Author Message
swap1
PostPosted: Fri Oct 21, 2011 11:27 pm    Post subject: Messages getting piled up (HSTATE ??) Reply with quote

Newbie

Joined: 11 Oct 2011
Posts: 2

Hi All,

I have a situation where the messages get piled up on my Local Queue from where the application is supposed to pickup via SVRCONN channel.The messages pile up for around 20 mins and start moving.The requirment is that the message needs to be delivered without any delay.
I tried checking questatus on the queue which shows the HSTATE as Inactive and under normal condition the HSTATE is Active
Also as there are a lot of applications using the same SVRCONN channel I tried to count the total active channels and the count was 252 and MAXHANDS is configured at 256.

Apologies if what I am trying to solve might not be related to parameters I am checking for.
Request your guidance to move in the right direction.
Back to top
View user's profile Send private message
Vitor
PostPosted: Sat Oct 22, 2011 2:33 am    Post subject: Re: Messages getting piled up (HSTATE ??) Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

swap1 wrote:
Also as there are a lot of applications using the same SVRCONN channel I tried to count the total active channels and the count was 252 and MAXHANDS is configured at 256.


Why is the limit so close to the needed number? Why not increase it and/or split the applications over a number of channels?

Is the SVRCONN in question one of the SYSTEM ones? If so why because that's not best practice! Also the queue manager may be trying to use a few channels itself and bumping the applications.

Finally, and most critical to your issue, how do the applications on that SVRCONN react to connection errors from the queue manager? Could it be that they all abend, wait and reconnect at or about the same time & it's taking 20 mins for them all to get a handle and get working?

Or is one application not releasing unused connections and forcing the others off?

All more compelling reasons to split applications across different SVRCONNs
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Sat Oct 22, 2011 4:44 am    Post subject: Re: Messages getting piled up (HSTATE ??) Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Vitor wrote:
swap1 wrote:
Also as there are a lot of applications using the same SVRCONN channel I tried to count the total active channels and the count was 252 and MAXHANDS is configured at 256.


Why is the limit so close to the needed number? Why not increase it and/or split the applications over a number of channels?


MAXHANDS does not dictate how many channels can be running at one time. Its the maximum number of open handles that any one connection can have at the same time.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
swap1
PostPosted: Sat Oct 22, 2011 6:38 am    Post subject: Reply with quote

Newbie

Joined: 11 Oct 2011
Posts: 2

@ Vitor:
It is not the System SVRCONN channels that are used .
We have configured a new SVRCONN channels.
There are no errors observed either on the applications or the MQ.
MQ is also not throwing any errors at that time.
@Peter :Is there anyway I can check how many handles are created by this channel

The application is hosted on WAS 5.1 and does not use and MDB listener to listen to the queue.

Any specific areas that I could focus on to solve this issue.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Oct 22, 2011 6:02 pm    Post subject: Reply with quote

Grand High Poobah

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

swap1 wrote:
@ Vitor:
It is not the System SVRCONN channels that are used .
We have configured a new SVRCONN channels.
There are no errors observed either on the applications or the MQ.
MQ is also not throwing any errors at that time.
@Peter :Is there anyway I can check how many handles are created by this channel

The application is hosted on WAS 5.1 and does not use and MDB listener to listen to the queue.

Any specific areas that I could focus on to solve this issue.


So I guess the application is only making request/reply type of calls.
You still need to be able to handle the max # of concurrent calls.
If you're not using V7 with share conversation you'll need as many channel instances as max # of concurrent calls.

You should in fact provision for at least 50 to 100% more.

Check your maxchannels stanza in qm.ini and remember this is the number of channels (all type of channels) across all applications (scope qmgr)...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Sun Oct 23, 2011 11:03 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

you can check the no. of connections at that time.. using qmstatus command.
e.g.
Quote:

display qmstatus all
8 : display qmstatus all
AMQ8705: Display Queue Manager Status Details.
QMNAME(RTEST) STATUS(RUNNING)
CONNS( 8 ) CMDSERV(RUNNING)
CHINIT(RUNNING) STANDBY(NOPERMIT)

and you can check which appl. is holding the connection at the most, at that moment, using :
Quote:
display conn(*) all
you can avoid asterisk here if you already know the particular conname !
you can say what kind of msgs are being put on the queue !
you can fine tune the mq if the performance is not good, search at google fine+tuning+mq , and you would find a note from developerWorks on it.

Thanks.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Sun Oct 23, 2011 11:22 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

shashivarungupta wrote:

you can say what kind of msgs are being put on the queue !

What does this statement mean exactly?
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Messages getting piled up (HSTATE ??)
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.