Hi All , I am facing problem of too many CLOSE_WAIT. My env is :
solr 3.4 in Linux RHEL 5.2. I am getting around 1 million request per day on application server on my production. Production server is communicating locally with solr server. I have 5 core setup and for each core I am using seprate instance of solrServer with following snippet of code. MultiThreadedHttpConnectionManager cm=new MultiThreadedHttpConnectionManager(); cm.getParams().setMaxTotalConnections(100); cm.getParams().setDefaultMaxConnectionsPerHost(100); cm.closeIdleConnections(0L); HttpClient httpClient=new HttpClient(cm); server=new CommonsHttpSolrServer(url, httpClient); At starting my server responding fine but as time progress it start responding slow and then stop working (within a day). Only solution at that time is to reset the application server. What I notice is at the time when server start responding slow that time CLOSE_WAIT increased. When I reset the application server CLOSE_WAIT become 0. I search and find it is due to CLOSE_WAIT. Please suggest me how to resolve this CLOSE_WAIT issue. BR Jonty