How are you indexing? It sounds like you may be sending one
document at a time. Also, another common mistake is to send
commits from the client, you should either set your autocommit
intervals up in solrconfig.xml or, perhaps, send one (and only one)
commit at the very end of the entire indexing job.

Throughput is sensitive to the number of docs you send to Solr at once, see:
https://lucidworks.com/blog/2015/10/05/really-batch-updates-solr-2/

Best,
Erick

On Thu, Aug 18, 2016 at 2:24 AM, kshitij tyagi
<kshitij.shopcl...@gmail.com> wrote:
> how to shrink solr container thread pool??
>
> On Thu, Aug 18, 2016 at 2:53 PM, kshitij tyagi <kshitij.shopcl...@gmail.com>
> wrote:
>
>> refcount 171 is seen when i reindex a number of documents simultaneously?
>> what does this means? I am observing that my indexing speeds slows down
>> when refcount increses. I am only indexing on this instance and no queries
>> are running on it.
>>
>> Thanks for the information
>>
>> On Thu, Aug 18, 2016 at 2:20 PM, Mikhail Khludnev <m...@apache.org> wrote:
>>
>>> When instance is idle you should see refCount=2 in solrAdmin. One count
>>> goes from coreContainer holding a core instance until reload and two comes
>>> from solrAdmin request which opens a core while it renders response. So,
>>> until you don't request this stat the refCount is 1 that somehow remind
>>> quantum mechanics.
>>> Seen refcount 171 either mean 169 parallel request, which hardly make
>>> sense
>>> and I suggest to shrink the Solr container thread pool or/and tweak a
>>> client app. But If it keeps growing and remains >2 even when instance is
>>> idle, it means some plugin leak it - avoid to close/decref solr core.
>>> Hope it helps.
>>>
>>> On Wed, Aug 17, 2016 at 5:27 PM, kshitij tyagi <
>>> kshitij.shopcl...@gmail.com>
>>> wrote:
>>>
>>> > any update??
>>> >
>>> > On Wed, Aug 17, 2016 at 12:47 PM, kshitij tyagi <
>>> > kshitij.shopcl...@gmail.com
>>> > > wrote:
>>> >
>>> > > Hi,
>>> > >
>>> > > I need to understand what is refcount in stats section of solr admin.
>>> > >
>>> > > I am seeing refcount: 2 on my solr cores and on one of the core i am
>>> > > seeing refcount:171.
>>> > >
>>> > > The core with refcount  with higher number   is having very slow
>>> indexing
>>> > > speed?
>>> > >
>>> > >
>>> > >
>>> >
>>>
>>>
>>>
>>> --
>>> Sincerely yours
>>> Mikhail Khludnev
>>>
>>
>>

Reply via email to