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 » WebSphere Message Broker (ACE) Support » Heratbeat/Disconnect Intervel Problems

Post new topic  Reply to topic
 Heratbeat/Disconnect Intervel Problems « View previous topic :: View next topic » 
Author Message
Luca81
PostPosted: Tue Jun 19, 2007 11:34 pm    Post subject: Heratbeat/Disconnect Intervel Problems Reply with quote

Acolyte

Joined: 01 Mar 2007
Posts: 62

Hi to all.
One/two times/month I have the problem "Maximun Number of Channels Reached".
I'm on version MQ5.3. CSD10 on window 2003 platform
Sometimes I have a channel (Server Connection) with a lot (big lot ) of opened connections... I think are broken connections (we have a lot of networks problems with routers ecc ecc)...
Browsing the channels I have a lot of connections with last message sent 2/3 days ago... why? We are in production enviroment and the channel Heartbeat is 300. Why Heartbeat does not work? On documentation I can read:

The Heartbeat Interval or HBINT is the channel attribute which controls how often the sending end of the Channel should check that the receiver is ok when there are no messages to send. The value is specified in seconds on both ends of the channel and they negotiate an appropriate value to use at channel startup. This value is the least frequent interval of the two specified. If one or both ends specifies 0 which means no heartbeats, then this value, being the least frequent value possible, is the
one chosen.


KeepAvile checkbox (I'm on win so I don't have MQ.INI) is disabled and AdoptNewMCA check box is disable.
Can u help me to solve this problem?
Thx a lot
LUCA
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed Jun 20, 2007 12:39 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

From the runmqsc manual
Quote:
HBINT(integer)
This parameter has a different interpretation depending upon the channel type, as follows:
For channels with a channel type (CHLTYPE) of SDR, SVR, RCVR, RQSTR, CLUSSDR, or CLUSRCVR, this is the time, in seconds, between heartbeat flows passed from the sending MCA when there are no messages on the transmission queue. The heartbeat exchange gives the receiving MCA the opportunity to quiesce the channel.
Note:
You should set this value to be significantly less than the value of DISCINT. WebSphere MQ checks only that it is within the permitted range however.
For channels with a channel type (CHLTYPE) of SVRCONN or CLNTCONN, this is the time, in seconds, between heartbeat flows passed from the server MCA when that MCA has issued an MQGET with WAIT on behalf of a client application. This allows the server to handle situations where the client connection fails during an MQGET with WAIT.

_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
Luca81
PostPosted: Wed Jun 20, 2007 12:49 am    Post subject: Reply with quote

Acolyte

Joined: 01 Mar 2007
Posts: 62

Nigelg wrote:
From the runmqsc manual
Quote:
HBINT(integer)
This parameter has a different interpretation depending upon the channel type, as follows:
For channels with a channel type (CHLTYPE) of SDR, SVR, RCVR, RQSTR, CLUSSDR, or CLUSRCVR, this is the time, in seconds, between heartbeat flows passed from the sending MCA when there are no messages on the transmission queue. The heartbeat exchange gives the receiving MCA the opportunity to quiesce the channel.
Note:
You should set this value to be significantly less than the value of DISCINT. WebSphere MQ checks only that it is within the permitted range however.
For channels with a channel type (CHLTYPE) of SVRCONN or CLNTCONN, this is the time, in seconds, between heartbeat flows passed from the server MCA when that MCA has issued an MQGET with WAIT on behalf of a client application. This allows the server to handle situations where the client connection fails during an MQGET with WAIT.


yes yes I read...
So? What can I do for prevent this situation where I have a Server Connection channel with a lot of opened pending connections? Browsing the channels I have a lot of connections with last message sent 2/3 days ago... what is MCA exactly?
Thx for help
Luca
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 20, 2007 1:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Why is AdoptNewMCA turned off? It seems like it might be what you want to use in this situation.

Nigel answered your question, though, about why HBINT wasn't working. That bit there about "MQGET with WAIT".

Also, it seems strange that the connection wouldn't have timed out at the TCP/IP level in two to three days, if it was really broken.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Luca81
PostPosted: Wed Jun 20, 2007 3:34 am    Post subject: Reply with quote

Acolyte

Joined: 01 Mar 2007
Posts: 62

jefflowrey wrote:
Why is AdoptNewMCA turned off? It seems like it might be what you want to use in this situation.

Nigel answered your question, though, about why HBINT wasn't working. That bit there about "MQGET with WAIT".

Also, it seems strange that the connection wouldn't have timed out at the TCP/IP level in two to three days, if it was really broken.


hi

Maybe client did not close the connection... So it is not broken...
But on Server Connection channels I can't insert the disconnect interval...
But only the HBINT... Can you explain me (in easy words) what is the HBINT in a Server Connection Channel?
Thx you
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 20, 2007 4:00 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The documentation quoted here is very precise on what HBINT for SVRCONNs means.

It's the time between heartbeat flows during an MQGET with WAIT.
_________________
I am *not* the model of the modern major general.
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 » WebSphere Message Broker (ACE) Support » Heratbeat/Disconnect Intervel Problems
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.