Re: solrj and CLOSE_WAIT's

2008-11-14 Thread Ian Holsman
Ryan McKinley wrote: not sure if it is something we can do better or part of HttpClient... From: http://www.nabble.com/CLOSE_WAIT-td19959428.html it seems to suggest you may want to call: con.closeIdleConnections(0L); But if you are creating a new MultiThreadedHttpConnectionManager for each

solrj and CLOSE_WAIT's

2008-11-13 Thread Ian Holsman
Hi guys. I'm running a little upload project that uploads documents into a solr index. there is also a 2nd thread that runs a deleteby query and a optimize every once and a while. in an effort to reduce the probably of things being held onto I've made everything local, but it is still

Re: solrj and CLOSE_WAIT's

2008-11-13 Thread Ryan McKinley
not sure if it is something we can do better or part of HttpClient... From: http://www.nabble.com/CLOSE_WAIT-td19959428.html it seems to suggest you may want to call: con.closeIdleConnections(0L); But if you are creating a new MultiThreadedHttpConnectionManager for each request, is seems odd