On Mon, 2015-05-18 at 11:11 +0200, Thomas Boniface wrote:
> Thanks your answers, also hystrix seems pretty interesting. I'll have a
> look into it.
> 
> Regarding my problem, I observed some cases where my application becomes
> apparently stuck. After nothing happens in my application log for a couple
> of seconds a thread dump is made. This thread dump showed that all I/O
> dispatcher threads and all the http nio threads were waiting for the a lock
> from AbstractNIOConnPool.
> 

Please run the client with context logging for connection management
turned on as described here to find out why HttpClient is trying to
acquire the pool lock.

http://hc.apache.org/httpcomponents-client-4.4.x/logging.html

Please also make sure you are using the latest stable release of
HttpAsyncClient (which is 4.1).

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to