lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Furkan KAMACI <>
Subject Re: Zookeeper latencies and pending requests - Solr 4.3
Date Wed, 12 Mar 2014 23:08:45 GMT

FAQ page says that:

*Q: I'm seeing lot's of session timeout exceptions - what to do?*
*A: Try raising the ZooKeeper session timeout by editing solr.xml - see the
zkClientTimeout attribute. The minimum session timeout is 2 times your
ZooKeeper defined tickTime. The maximum is 20 times the tickTime. The
default tickTime is 2 seconds. You should avoiding raising this for no good
reason, but it should be high enough that you don't see a lot of false
session timeouts due to load, network lag, or garbage collection pauses.
The default timeout is 15 seconds, but some environments might need to go
as high as 30-60 seconds*.

So when you do that what is the load of your network? Do you get that
timeouts while heavy indexing or at an idle time? If not there should be a
network problem. Could you chech whether a problem exists "between" your
Zookeeper ensembles? On the other hand could you give some more information
about your infrastructure and Solr logs? (PS: 50 mb data *may *cause a
problem for your architecture)


2014-03-13 0:57 GMT+02:00 Chris W <>:

> Hi
>   I have a 3 node zk ensemble . I see a very high latency for zk responses
> and also a lot of outstanding requests (in the order of 30-40)
> I also see that the requests are not going to all zookeeper nodes equally.
> One node has more requests/connections than the others. I see that CPU/Mem
> and disk usage limits are very normal (under 30% cpu, disk reads in the
> order of kb, jvm size is 2 Gb but it hasnt even reached 30% usage). The
> size of data in zk is around 50MB
> I also see a few zk timeout for solrcloud nodes causing them to be shown as
> "dead" in the cloud view. I have increased the connection timeout to around
> 3 minutes and still the same issue seems to be happening
> How do i make zk respond faster to requests and where does zk usually spend
> time while dealing with incoming requests?
> Any pointers on how to move forward will be great
> --
> Best
> --
> C

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message