hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Question on max connection limit
Date Tue, 24 Nov 2009 09:15:51 GMT
On Mon, 2009-11-23 at 16:09 +0500, Zoltan Bencik wrote:
> Hello Oleg,
> 
> Thanks for response.
> Can you please let me know what's the default value for 
> http.conn-manager.max-total parameter?
> 

20

Oleg

> br,
> -zoltan.
> 
> Oleg Kalnichevski wrote: 
> > On Sun, 2009-11-22 at 11:55 +0500, Zoltan Bencik wrote:
> >   
> > > Dear All,
> > > 
> > > I've currently set the following parameter during http client 
> > > initialization:
> > > params.setParameter("http.conn-manager.max-total", 5);
> > > 
> > > Is this correct way to limit the maximum connection number?
> > > Because by analyzing the network stats, I always see that there are only 
> > > 2 connections
> > > are used to the remote host all the time.
> > > I just wonder if I understood correctly the tutorial and set proper 
> > > parameter to limit
> > > max. connection number.
> > > 
> > >     
> > 
> > Zoltan
> > 
> > You also need to increase the max connections per route limit. Per
> > default it is set to 2 connections.
> > 
> > Oleg 
> > 
> >   
> > > Any help is highly appreciated, thanks.
> > > 
> > > br,
> > > -zoltan.
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> > > For additional commands, e-mail: httpclient-users-help@hc.apache.org
> > > 
> > >     
> > 
> > 
> > 
> >   
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message