Closed fhalde closed 4 years ago
I also don't understand from where is the MultiThreadedHttpConnectionManager
coming in the stacktrace if the conn-manager is making use of a PoolingClientConnectionManager
Couple of more points
We have around 1000 tests that in their test setup create a connection manager (hence 1000 connection managers) with a :timeout
parameter set to 10 (seconds i believe)
We do see that we don't shutdown the connection managers. But i'm guessing the :timeout
parameter does cause the cleanup to happen after the timeout has triggered
We'll definitely work to reduce the conn-manager footprint, but can you think of anything else here?
What exactly was the default socket timeout in 2.x clj-http? was it indefinite?
What exactly was the default socket timeout in 2.x clj-http? was it indefinite?
It appears this is the case, it waits infinitely unless otherwise specified.
Thanks @dakrone it was indeed that case
I am aware, clj-http 2.x is no longer maintained, but would appreciate if i just get a guidance around this issue as i do not have an expertise in
org.apache.commons.httpclient
We've been witnessing abrupt application freeze in our test setup which makes use of clj-http.client with a reusable connection manager
Here is the thread dump that we have taken
The conn-manager in newer version of clj-http uses
PoolingHTTPClientConnectionManager
and the version of clj-http I use makes use ofPoolingClientConnectionManager
Is there any known bug of possible deadlock?