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 » Too many TCP connections on MQ Server

Post new topic  Reply to topic
 Too many TCP connections on MQ Server « View previous topic :: View next topic » 
Author Message
david.caballero
PostPosted: Wed May 30, 2007 9:19 am    Post subject: Too many TCP connections on MQ Server Reply with quote

Newbie

Joined: 30 May 2007
Posts: 1

Hi everybody.

We have a Windows environment in which MQ clients connect to a MQ Server. We are registering a lot of TCP connections on the MQ Server side, in "TimeWait" state, from the clients. Those connections only dissapear after the OS times-out them.
does anyone know how can we eliminate those lazy connections?

Thank you very much.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Wed May 30, 2007 10:20 am    Post subject: Re: Too many TCP connections on MQ Server Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

How about this client applications ?
Have you checked if they close mq connections in correct way ?
Is there any pooling implemented ?

Isn't it better to check source of problem first rather than effects ?
_________________
Marcin


Last edited by marcin.kasinski on Wed May 30, 2007 11:22 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
tleichen
PostPosted: Wed May 30, 2007 10:31 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

Write your applications properly and this should not happen, at least not nearly as frequently.
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed May 30, 2007 12:14 pm    Post subject: Re: Too many TCP connections on MQ Server Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

david.caballero wrote:
Hi everybody.

We have a Windows environment in which MQ clients connect to a MQ Server. We are registering a lot of TCP connections on the MQ Server side, in "TimeWait" state, from the clients. Those connections only dissapear after the OS times-out them.
does anyone know how can we eliminate those lazy connections?

Thank you very much.


Assuming they are orphaned connections that no one will care about, you can set the ClientIdle parm.

http://www-1.ibm.com/support/docview.wss?rs=171&context=SSFKSJ&context=SSWHKB&q1=ClientIdle&uid=swg21197630&loc=en_US&cs=utf-8&lang=en

BUT, if connections are legit just quiet, that parm will kill those just the same.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed May 30, 2007 1:23 pm    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

It does not look like ClientIdle is really supported, since it is not documented.
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed May 30, 2007 6:00 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

True, but that link says the request has been submitted already to add it to the docs.

And the parameter is mentioned in other IBM posts:
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg21194427

Personally, I would stay away from it. I can imagine the havoc it would cause on things like connection pools.

Much better to set the QM to use TCP Keep Alive, and then set the system's Keep Alive value to a reasonable value.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Gaya3
PostPosted: Wed May 30, 2007 7:22 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

Please clarify this doubt

Does this "Time Wait" conditions creates FDC with Probe ID ZL00028, due to abnormal termination

Thanks and Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Satsuma
PostPosted: Wed Jun 13, 2007 12:21 am    Post subject: Reply with quote

Apprentice

Joined: 30 Apr 2007
Posts: 25
Location: Finland

If it´s an MQ Java client you´re dealing with, this new Fix Pack 6.0.2.1 might help:
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg1IY88954
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 » Too many TCP connections on MQ Server
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.