Re: ConnectionPoolTimeoutException with multi-threaded HttpClient usage

2012-12-18 Thread Oleg Kalnichevski
On Tue, 2012-12-18 at 21:49 +0200, Marko Asplund wrote: > On 2012-12-16 15:04:25 GMT Oleg Kalnichevski wrote: > > > This can happen if you have a pool with the number of concurrent > > connections much smaller than the number of work threads (which causes a > > high resource contention) combined w

Re: ConnectionPoolTimeoutException with multi-threaded HttpClient usage

2012-12-18 Thread Marko Asplund
On 2012-12-16 15:04:25 GMT Oleg Kalnichevski wrote: > This can happen if you have a pool with the number of concurrent > connections much smaller than the number of work threads (which causes a > high resource contention) combined with an aggressive timeout value. ... > Closing the response conte

Re: ConnectionPoolTimeoutException with multi-threaded HttpClient usage

2012-12-16 Thread Oleg Kalnichevski
On Thu, 2012-12-13 at 22:18 +0200, Marko Asplund wrote: > Hi, > > I'm having problems using HttpClient in a multi-threaded environment. > When HttpClient.execute is called I occasionally get the following > error, even when there > probably should be connections available in the pool. > This can

ConnectionPoolTimeoutException with multi-threaded HttpClient usage

2012-12-13 Thread Marko Asplund
Hi, I'm having problems using HttpClient in a multi-threaded environment. When HttpClient.execute is called I occasionally get the following error, even when there probably should be connections available in the pool. org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connec