It's possible it's not hanging, but just takes a long time on a
specific add.  This is because Lucene will occasionally merge
segments.  When very large segments are merged, it can take a long
time.

In the log file, add commands are followed by the number of
milliseconds the operation took.  Next time Solr hangs, wait for a
number of minutes until you see the operation logged and note how long
it took.

How many documents are in the index before you do a batch that causes
a hang?  Does it happen on the first batch?  If so, you might be
seeing some other bug.  What appserver are you using?  Do the admin
pages respond when you see this hang?  If so, what does a stack trace
look like?

-Yonik


On 7/26/06, sangraal aiken <[EMAIL PROTECTED]> wrote:
Hey there... I'm having an issue with large doc updates on my solr
installation. I'm adding in batches between 2-20,000 docs at a time and I've
noticed Solr seems to hang at 6,144 docs every time. Breaking the adds into
smaller batches works just fine, but I was wondering if anyone knew why this
would happen. I've tried doubling memory as well as tweaking various config
options but nothing seems to let me break the 6,144 barrier.

This is the output from Solr admin. Any help would be greatly appreciated.


*name: * updateHandler  *class: *
org.apache.solr.update.DirectUpdateHandler2  *version: * 1.0  *description:
* Update handler that efficiently directly updates the on-disk main lucene
index  *stats: *commits : 0
optimizes : 0
docsPending : 6144
deletesPending : 6144
adds : 6144
deletesById : 0
deletesByQuery : 0
errors : 0
cumulative_adds : 6144
cumulative_deletesById : 0
cumulative_deletesByQuery : 0
cumulative_errors : 0
docsDeleted : 0


Reply via email to