Author |
Message
|
popebb |
Posted: Wed May 23, 2007 1:17 pm Post subject: TIME_WAIT AMQ9513 Max channels reached |
|
|
Apprentice
Joined: 23 Aug 2006 Posts: 34
|
I am having some problems with running out of channels. I am on a windows 2000 server running MQ 5.3 CSD11. I believe that i have an application that is not terminating the connection properly. I have many connections in my netstat that say there are in a TIME_WAIT status connecting to my queue manager via a server conn connection. It seems as the application has terminated and i am just waiting for them to come back. i see this a usefulness because it will take less resources to re-establish this connection than creating a new one. Is this TIME_WAIT parm configurable? I have read some stuff about the Keep Alive interval but am not sure if this is what i need. i see keep alive more suitable for sdr/recv pairs not svrconn connections, am i mistaken?
Any input is welcome. |
|
Back to top |
|
 |
Vitor |
Posted: Wed May 23, 2007 1:27 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
What you're describing is a connection pool, such as is offered by WAS. However, if the application is not disconnecting properly I doubt if any mechanism will recognise the connection as available for re-use as it's still "in use" by the application. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed May 23, 2007 1:27 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
If you have an app not closing the channels / connection you are in trouble... Get the connecting app fixed first. _________________ MQ & Broker admin |
|
Back to top |
|
 |
popebb |
Posted: Wed May 23, 2007 1:56 pm Post subject: |
|
|
Apprentice
Joined: 23 Aug 2006 Posts: 34
|
running mq, not was....i am assuming the app is not disconnecting properly is there anyway i can tell? maybe a mq trace? |
|
Back to top |
|
 |
Vitor |
Posted: Wed May 23, 2007 10:55 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
popebb wrote: |
running mq, not was....i am assuming the app is not disconnecting properly is there anyway i can tell? maybe a mq trace? |
Base MQ doesn't support connection pooling in the way you describe in your initial post.
You're better off tracing the application. All MQ can tell you is that the application isn't disconnecting, and you sort of know that......  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|