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 » Way too many connections from the application

Post new topic  Reply to topic
 Way too many connections from the application « View previous topic :: View next topic » 
Author Message
Sam Uppu
PostPosted: Tue Jul 07, 2009 10:03 am    Post subject: Way too many connections from the application Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

we are running MQ version 7.0.0.1 on solaris 10.

The java application is connected to our QMgr QM1.

When I try DIS CONN(*), I see many connections around 5000

echo "dis conn(*)" | runmqsc QM1 | grep TYPE | wc -l

The maxhandles allowed on the qmgr is 256 which is default. Not sure how the app is able to open somany connections without getting any error.

Can we some how know which application instance or which PID is generating these many open connections?.

Thanks.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jul 07, 2009 11:10 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Maxhandles has nothing to do with connections.
Back to top
View user's profile Send private message
mehedi
PostPosted: Tue Jul 07, 2009 1:43 pm    Post subject: Reply with quote

Centurion

Joined: 11 Nov 2001
Posts: 102
Location: PSTech

Sam,
New in version 7.0
The "define channel" command has two new parameters
MAXINST and MAXINSTC . These can be set to limit the number of channel connections for the channel tyoe server-connection(SRVCONN).
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.csqzaj.doc/sc11010_.htm


Mehedi
Back to top
View user's profile Send private message MSN Messenger
Sam Uppu
PostPosted: Tue Jul 07, 2009 3:10 pm    Post subject: Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

mehedi wrote:
Sam,
New in version 7.0
The "define channel" command has two new parameters
MAXINST and MAXINSTC . These can be set to limit the number of channel connections for the channel tyoe server-connection(SRVCONN).
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.csqzaj.doc/sc11010_.htm


Mehedi


Thanks Mehedi. We are not using the serverconn channels to connect to MQ. The application is connecting via Binding mode. The app and MQ server are on the same physical server.

Thanks.
Back to top
View user's profile Send private message
aditya.aggarwal
PostPosted: Wed Jul 08, 2009 2:35 am    Post subject: Reply with quote

Master

Joined: 13 Jan 2009
Posts: 252

Sam Uppu wrote:

Quote:
The application is connecting via Binding mode. The app and MQ server are on the same physical server.


does the application using JMS bindings?

if there is no SVRCONN channel then how are you getting the count of maxhandles by using ...

echo "dis conn(*)" | runmqsc QM1 | grep TYPE | wc -l

Mqjeff,

What is the difference b/w maxhandles and connections to qmgr?

Cheers,
Aditya
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jul 08, 2009 2:41 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

aditya.aggarwal wrote:
What is the difference b/w maxhandles and connections to qmgr?




http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=/com.ibm.mq.csqzaj.doc/sc10620_.htm
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 » Way too many connections from the application
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.