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 » Limiting Connections from a Client Server

Post new topic  Reply to topic
 Limiting Connections from a Client Server « View previous topic :: View next topic » 
Author Message
PeterPotkay
PostPosted: Mon Dec 06, 2004 6:37 am    Post subject: Limiting Connections from a Client Server Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

We can preach about Standards and Guidelines till we are blue in the face talking about how an app is supposed to clean up after itself, and that an app that processes 1000 messages a day does not need a pool of 25 connections, but at the end of the day we have no control on how many MQ client connections an application can attempt. In a shared environment, MQClient AppA on Server A can spawn off a thousand connections to QM1, and MQClient AppB is then shut out because max connections was hit. JMS with its connection pools has only made this worse.

Is there any way to protect from this? Its almost as if there needs to be a MaxActiveChannels stanza at the channel level. If I give every app a dedicated SVRCONN channel, and then say there can only be 25 instances of that channel I would be safe.

Or, maybe there is a network setting that says Server1 (the client) can only have x TCP connections into my QM server, and that way Server2, Server3.... can still connect.

Is there anyway to protect from inconsiderate and/or badly written client apps?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Dec 06, 2004 6:48 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Scott on ths list server showed me this:
http://www-1.ibm.com/support/docview.wss?rs=203&uid=swg24004771&loc=en_U

Quote:

ME71 provides a security exit that allows client connections to be limited according to the name of the Server Connection channel.


But what if I already have an exit on that channel for other reasons?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Nigelg
PostPosted: Mon Dec 06, 2004 7:09 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Add another exit.
Quote:
On AIX, Compaq OpenVMS, HP-UX, Linux, OS/2 Warp, Solaris, and Windows, you can specify the name of more than one exit program by specifying multiple strings separated by commas. However, the total number of characters specified must not exceed 999.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Dec 06, 2004 7:13 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Does that comment apply to Security Exits to? Because that note is only listed under Message Exits.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Nigelg
PostPosted: Mon Dec 06, 2004 7:24 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Yes. In the description of SCYEXIT
Quote:
The format and maximum length of the name is the same as for MSGEXIT.
Back to top
View user's profile Send private message
markt
PostPosted: Mon Dec 06, 2004 8:05 am    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

You can only have a single security exit on a channel. While the name/format is the same for all exit types, the list is not available for security exits.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Mon Dec 06, 2004 8:20 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Sorry, markt is right, you can only have one security exit on a channel. I think that manual extract is rather misleading...
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 » Limiting Connections from a Client 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.