On 7/26/2018 8:58 AM, solrnoobie wrote: > We are having problems with zk / solr node recovery and we are encountering > this issue: > > [ ] o.a.z.ClientCnxn Client session timed out, have not heard from server > in 5003ms > > We have set the solr.xml zkClientTimeout to 30 secs.
The internal default for zkClientTimeout is 15 seconds, and recent example configurations use a value of 30 seconds. This value is used by Solr to configure the zookeeper client session timeout. Assuming that this log entry is found in the Solr server log ... it appears that zkClientTimeout is set to 5 seconds. If Solr were ignoring its configuration entirely, the session timeout would be 15 seconds, not 5 seconds ... so I believe that Solr *is* paying attention to some kind of config. Can you share your full solr.xml file as well as everything in "JVM Args" on the admin UI dashboard? What version of Solr is it? The default value of 15 seconds is a relative eternity to a program like Solr. Unless system resources are inadequate for handling the load, I would even expect 5 seconds to be plenty of time. Thanks, Shawn