On Wed, 2015-05-20 at 16:07 +0200, Thomas Boniface wrote: > I assume when using http async client the package to log is > org.apache.http.impl.nio.conn instead of org.apache.http.impl.conn ? >
Yes. Or some such. Oleg > We are using the latest stable release already. > > 2015-05-19 10:30 GMT+02:00 Oleg Kalnichevski <[email protected]>: > > > 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] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
