Jonty Rhods
2011-10-25 20:03:37 UTC
Hi,
I am using solrj and for connection to server I am using instance of the
solr server:
SolrServer server = new CommonsHttpSolrServer("
http://localhost:8080/solr/core0");
I noticed that after few minutes it start throwing exception
java.net.SocketException: Too many open files.
It seems that it related to instance of the HttpClient. How to resolved the
instances to a certain no. Like connection pool in dbcp etc..
I am not experienced on java so please help to resolved this problem.
solr version: 3.4
regards
Jonty
I am using solrj and for connection to server I am using instance of the
solr server:
SolrServer server = new CommonsHttpSolrServer("
http://localhost:8080/solr/core0");
I noticed that after few minutes it start throwing exception
java.net.SocketException: Too many open files.
It seems that it related to instance of the HttpClient. How to resolved the
instances to a certain no. Like connection pool in dbcp etc..
I am not experienced on java so please help to resolved this problem.
solr version: 3.4
regards
Jonty