Heavy use means multiple threads are making calls concurrently through a single client instacnce.
Some of those calls are streaming data from the logs to display in IDE console and so I guess they are long lived connections.
This is working fine upto a point. Then i it breaks and the client freezes up completely and becomes unable to service any more requests.
When I inspect what is going on with the debugger I see that it that client calls are 'stuck' in getting a connection from the connection pool.
So my guess is that it is simply running out of connections in the connection pool.
Is there a way to increase the size of the pool?
Appache docs describes how to do this here in section 2.3.3 https://hc.apache.org/httpcomponents-client-ga/tutorial/html/connmgmt.html
However from inspecting the source code of the zerodep client a bit, it looks like the connection manager and its configuration options are not being exposed through Java docker client api.
It would nice if options to control connection limits could be made configurable. Any chance of this?