On 7/12/2016 8:30 AM, Kent Mu wrote:
> We have configed the maxThreads in JBOSS, and the good news is solrcloud
> now running OK. but I another issue came across. We find the number of the
> HTTP connections is very high, and the number can be around 3300. and
> solrcloud does no release the connections.
> I understand that, the solrcloud needs to connect to zookeeper and
> communication between leader and replica need the connection. but I think
> the number should not to be so huge.
> besides, we use the singleton pattern to connect solrcloud in JAVA.

Are you referring to the number of http connections in your SolrJ app,
or the number of http connections in Solr itself?  Hopefully these are
being run by completely separate JVMs.  Where exactly are you looking
when you see 3300 connections?

The connection to Zookeeper does not use HTTP.  It is a TCP connection
but the protocol is custom.  Both Solr and SolrJ will maintain a
connection to each of the zookeeper hosts that are in the zkHost string
used when they start.

Thanks,
Shawn

Reply via email to