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 » IBM MQ API Support » Client Connections

Post new topic  Reply to topic
 Client Connections « View previous topic :: View next topic » 
Author Message
wmqiguy
PostPosted: Wed Apr 30, 2003 12:18 pm    Post subject: Client Connections Reply with quote

Centurion

Joined: 09 Oct 2002
Posts: 145
Location: Florida

Created a dll that goes throught the whole routine.
Connect open close, etc. Puts a request message in one queue and gets the reply from another.
Everything is hunky.

Waiting for the twist weren't ya?


Stress is killing it...and not much at that.

If we create a test harness that calls this dll individually (25 calls = 25 separate threads) we eventually start to bounce into some TCPIP errors. Specifically, 10061, connection refused. Roughly, the first 20 are successful, then bam...no dice.

The dll is using the client channel table and is using the same svrconn channel.

Thanks for all your help in advance.
Back to top
View user's profile Send private message
JohnMN
PostPosted: Wed Apr 30, 2003 1:59 pm    Post subject: Reply with quote

Novice

Joined: 26 Feb 2003
Posts: 19

I don't know the answer, but if I "think out loud" maybe I can give you a couple of questions that might help. They're not in any particular order -- just a bunch of questions to ask.

We run a z/OS (MVS) system that handles well over 100 clients at a time to the same server-conn channel, so there's no "magical number" of incoming clients.

First thing I would do is find out which side the error is really occurring on.

My first reaction when reading this is that it's the server side that's giving the 10061 error. What kind of system is the server? Is it up to the task of handling 25 incoming client channels?

You can probably test whether the error is on the client or server side by loading your dll onto 2 or 3 separate machines and trying to connect 10 or 15 times from each system.

If you get the 10061 when there are a total of 20 channels, then you probably need to look at the server side. Actually, the error would start showing up at the same time on each of the client systems.

If it's a client side issue, then you'll most likely get the 10061 after different numbers of channels have been started, depending on the individual machine and the load on each machine.

Is it consistent? Do you always get the error after 20 channels? Does it seem to depend on the load, either on the server side or the client side?

How are you seeing the 10061 error? Is there also an MQSeries error message along with it?

Hope that helps some.

John
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Apr 30, 2003 11:33 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

We have 2500 MQ clients connected to a single OS/390 queue manager.

There is an upper limit for client connections defined somewhere as a default for all queue managers, but it's easy to increase it.
Back to top
View user's profile Send private message
wmqiguy
PostPosted: Thu May 01, 2003 5:05 am    Post subject: Reply with quote

Centurion

Joined: 09 Oct 2002
Posts: 145
Location: Florida

UPDATE:

We have suspected and have confirmed that this was not an MQSeries issue, but a TCPIP/OS issue. Essentially, we had reached the limit of how many "hits" could come through a single socket.

Essentially, can I send 20 people through a door...yes.
Can I send 20 people through the door at once....no.

Here's more for those that are curious. As we stepped up the robustness of the platform, the more we could handle simultaneously. We started on a WIN2000 Workstation, went to a Server, then Solaris, and finally OS390. Each one was able to handle increasing amounts.


Reason for the test is that we are getting ready to deploy a client dll on about 10,000 workstations. We projected that at max (conservative estimate) we would have 20-30 simultaneous hits. We are using WIN2000 Server and Solaris machines. When we modeled it on a workstation we were at the lower limits of an acceptable level. On our server class machines we have LOTS of leeway.

Thanks for the responses!

Todd
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu May 01, 2003 8:23 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Check out the ListenerBacklog parameter of the TCP section of the qm.ini file. It is documented in the Intercommunication manuals, and it sounds like it is what you are looking for.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
EddieA
PostPosted: Mon May 05, 2003 10:05 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Ron,

Yes, that was the problem. But no matter how high you make that parameter, you can't make the Backlog any bigger that the underlying TCP/IP implementation allows. That is 5 for Workstation, 200 for Server.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » IBM MQ API Support » Client Connections
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.