Re: SessionExpiredException

2017-05-11 Thread Satya Marivada
> For the sessionexpiredexception, the solr is throwing this exception and > then the shard goes down. > > From the following discussion, it seems to be that the solr is loosing > connection to zookeeper and throws the exception. In the zoo keeper > configuration file, zoo.cfg, is it safe to increa

Re: SessionExpiredException

2017-05-11 Thread Satya Marivada
For the sessionexpiredexception, the solr is throwing this exception and then the shard goes down. >From the following discussion, it seems to be that the solr is loosing connection to zookeeper and throws the exception. In the zoo keeper configuration file, zoo.cfg, is it safe to increase the syn

Re: SessionExpiredException

2017-05-08 Thread Satya Marivada
This is on solr-6.3.0 and external zookeeper 3.4.9 On Wed, May 3, 2017 at 11:39 PM Zheng Lin Edwin Yeo wrote: > Are you using SolrCloud with external ZooKeeper, or Solr's internal > ZooKeeper? > > Also, which version of Solr are you using? > > Regards, > Edwin > > On 3 May 2017 at 21:32, Satya M

Re: SessionExpiredException

2017-05-08 Thread Satya Marivada
The 3g memory is doing well, performing a gc at 600-700 MB. -XX:+UseConcMarkSweepGC -XX:+UseParNewGC Here are my jvm start up The start up parameters are: java -server -Xms3g -Xmx3g -XX:NewRatio=3 -XX:SurvivorRatio=4 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=8 -XX:+UseConcMarkSweepGC

Re: SessionExpiredException

2017-05-08 Thread Walter Underwood
Which garbage collector are you using? The default GC will probably give long pauses. You need to use CMS or G1. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On May 8, 2017, at 8:48 AM, Erick Erickson wrote: > > 3G of memory should not lead to lo

Re: SessionExpiredException

2017-05-08 Thread Erick Erickson
3G of memory should not lead to long GC pauses unless you're running very close to the edge of available memory. Paradoxically, running with 6G of memory may lead to _fewer_ noticeable pauses since the background threads can do the work, well, in the background. Best, Erick On Mon, May 8, 2017 at

Re: SessionExpiredException

2017-05-08 Thread Satya Marivada
Hi Piyush and Shawn, May I ask what is the solution for it, if it is the long gc pauses? I am skeptical about the same problem in our case too. We have started with 3G of memory for the heap. Did you have to adjust some of the memory allotted? Very much appreciated. Thanks, Satya On Sat, May 6,

Re: SessionExpiredException

2017-05-06 Thread Piyush Kunal
We already faced this issue and found out the issue to be long GC pauses itself on either client side or server side. Regards, Piyush On Sat, May 6, 2017 at 6:10 PM, Shawn Heisey wrote: > On 5/3/2017 7:32 AM, Satya Marivada wrote: > > I see below exceptions in my logs sometimes. What could be ca

Re: SessionExpiredException

2017-05-06 Thread Shawn Heisey
On 5/3/2017 7:32 AM, Satya Marivada wrote: > I see below exceptions in my logs sometimes. What could be causing it? > > org.apache.zookeeper.KeeperException$SessionExpiredException: Based on my limited research, this would tend to indicate that the heartbeats ZK uses to detect when sessions have g

Re: SessionExpiredException

2017-05-03 Thread Zheng Lin Edwin Yeo
Are you using SolrCloud with external ZooKeeper, or Solr's internal ZooKeeper? Also, which version of Solr are you using? Regards, Edwin On 3 May 2017 at 21:32, Satya Marivada wrote: > Hi, > > I see below exceptions in my logs sometimes. What could be causing it? > > org.apache.zookeeper.Keepe