Dear Mr. Heisey. It seems that we can not send the picture or attachments to solr-user, so I send the screen shot to your personal email, sorry to disturb!
Thanks! Kent 2016-07-13 8:13 GMT+08:00 Shawn Heisey <apa...@elyograg.org>: > 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 > >