Re: server stop responding in few hours due to CLOSE_WAIT

2012-01-14 Thread Mikhail Khludnev
Jonty, That blog post explain what the problem is, but solution described there works for jdk's http clientonly. AFAIK you use Commons Http client, please refer to its' manuals or post your question to related forum.

Re: server stop responding in few hours due to CLOSE_WAIT

2012-01-14 Thread Jonty Rhods
Hi, I set the parameter as describe in the blog link but still same problem I am facing. In test class when I run it, It run perfectly few minutes but after certain thread it start responding slow and at same time the CLOSE_WAIT start increasing. I also notice that when I terminate test class all

Re: server stop responding in few hours due to CLOSE_WAIT

2012-01-13 Thread Mikhail Khludnev
Hello, It sounds like disabled http keep alive (connection cache). Here is the solutionfor jdk's http client. Unfortunately I have no experience with your Commons Http Client, but cm.closeIdleConnections(0L) looks very suspi

server stop responding in few hours due to CLOSE_WAIT

2012-01-13 Thread Jonty Rhods
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