lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Seltzer <dselt...@tveyes.com>
Subject Re: Periodic Slowness on Solr Cloud
Date Fri, 22 Nov 2013 17:12:40 GMT
Thanks so much Shawn,

I think you (and others) are completely right about this being heap and GC
related. I just did a test while not indexing data and the same periodic
slowness was observable.

On to GC/Memory Tuning!

Many Thanks!

-Dave


On Fri, Nov 22, 2013 at 12:09 PM, Shawn Heisey <solr@elyograg.org> wrote:

> On 11/22/2013 10:01 AM, Shawn Heisey wrote:
>
>> You can see how much the max heap is in the Solr admin UI dashboard -
>> it'll be the right-most number on the JVM-Memory graph.  On my 64-bit linux
>> development machine with 16GB of RAM, it looks like Java defaults to a 4GB
>> max heap.  I have the heap size manually set to 7GB for Solr on that
>> machine.  The 6GB heap you have mentioned might not be enough, or it might
>> be more than you need.  It all depends on the kind of queries you are doing
>> and exactly how Solr is configured.
>>
>
> Followup: I would also recommend starting with my garbage collection
> settings.  This wiki page is linked on the wiki page I've already given you.
>
> http://wiki.apache.org/solr/ShawnHeisey#GC_Tuning
>
> You might need a script to start Solr.  There is also a redhat-specific
> init script on that wiki page.  I haven't included any instructions for
> installing it.  Someone who already knows about init scripts won't have
> much trouble getting it working on a redhat-derived OS, and someone who
> doesn't will need extensive instructions or an install script, neither of
> which has been written.
>
> Thanks,
> Shawn
>

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