| Author | 
		  Message
		 | 
		
		  | nayanan | 
		  
		    
			  
				 Posted: Thu May 09, 2002 8:19 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 08 May 2002 Posts: 5
  
  | 
		  
		    
			  
				Is it possible to simulate connection pooling which is available in Java/JMS in c/c++? We have *several* clients connecting to the queue manager which is pushing the server to its knees. We are looking into ways to channel the incoming requests so there are only so many connections (amqcrsta proceeses) open at any given time. The use of MQ Listener has been suggested but for now, we are refraining from using it until MQ 5.3 is released.
 
 
Any tips, suggestions and pointers are greatly appreciated.
 
Thanks, | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mrlinux | 
		  
		    
			  
				 Posted: Thu May 09, 2002 8:24 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA 
  | 
		  
		    
			  
				First questions what platform, and several clients should not bring the server to it's knees,   you may have other issues that need to be resolved.
 
 _________________ Jeff 
 
 
IBM Certified Developer MQSeries
 
IBM Certified Specialist MQSeries
 
IBM Certified Solutions Expert MQSeries | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | nayanan | 
		  
		    
			  
				 Posted: Thu May 09, 2002 8:31 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 08 May 2002 Posts: 5
  
  | 
		  
		    
			  
				Platform - HP-UX 11i. (L Class servers)
 
Kernel parameters are tuned way above the "prescribed" limits. The server presently accepting a load of 550 client conx. We have a need to add 800 more. QA tests indicate NO response from the server (ls -l takes 5+ mins) once fully loaded. Thanks | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mrlinux | 
		  
		    
			  
				 Posted: Thu May 09, 2002 8:41 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA 
  | 
		  
		    
			  
				Ok well that is way above you previous statements of a several clients.
 
However there is parameter for tuning the TCP Listener backlog.
 
 
IN QM.ini
 
TCP:
 
ListenerBacklog = n
 
 
 
Platform  Default listener backlog value  
 
AIX V4.2 or later  100  
 
AIX V4.1  10  
 
HP-UX  20  
 
Sun Solaris  100  
 
All others  5  
 
 
 
 
 
 _________________ Jeff 
 
 
IBM Certified Developer MQSeries
 
IBM Certified Specialist MQSeries
 
IBM Certified Solutions Expert MQSeries | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | nayanan | 
		  
		    
			  
				 Posted: Thu May 09, 2002 8:53 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 08 May 2002 Posts: 5
  
  | 
		  
		    
			  
				Thank you, mrlinux..
 
I am still interested in finding out if connection pooling is possible in c/c++. If anyone has experiece in implementing such a beast, I'd greatly appreciate some pointers/code samples.
 
 
Thanks. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |