Thursday, January 04, 2018

Good posts to share on Detecting Connection Leak and How to test connection leak

In case you have the following exceptions:
"org.apache.http.conn.ConnectionPoolTimeoutException: 
Timeout waiting for connection from pool at 
org.apache.http.impl.conn.tsccm.ConnPoolByRoute.getEntryBlocking(ConnPoolByRoute.java:412) at 
org.apache.http.impl.conn.tsccm.ConnPoolByRoute$1.getPoolEntry(ConnPoolByRoute.java:298) at 
org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager$1.getConnection(ThreadSafeClientConnManager.java:238) at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:422) at 
org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106) at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) at 
...... " 
Here are  some Good posts on Detecting HTTP Connection Leak and How to test connection leak
Detect HTTP Connection leak Post: http://phillbarber.blogspot.com/2014/02/lessons-learned-from-connection-leak-in.html
How to test Connection leak: http://phillbarber.blogspot.co.uk/2015/02/how-to-test-for-connection-leaks.html