hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zoltan Bencik <zoltan.ben...@gmail.com>
Subject Re: Question on max connection limit
Date Mon, 23 Nov 2009 11:09:50 GMT
Hello Oleg,

Thanks for response.
Can you please let me know what's the default value for
http.conn-manager.max-total parameter?

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
>>
>>     
>
>
>
>   


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message