> Setting openSearcher to false on autoSoftCommit makes no sense.

That was my mistake in my solrconfig.xml. Thank you for identifying it. I
have corrected it.

I then removed my custom <mergeScheduler> element from my solrconfig.xml and
both hard commit and /solr/admin/core hang issues seemed to go way for a
couple of hours.

Then I increased the ingestion load and the issue came back. Taking a heap
dump I now see lots of these and back to commit hanging. Full thread dump is
at https://github.com/mohsinbeg/datadump/blob/master/threadDump-7pjql_1.zip

"commitScheduler-24-thread-1" #187 prio=5 os_prio=0 tid=0x00007f7c9401d000
nid=0x369 runnable [0x00007f7c1a664000]
   java.lang.Thread.State: TIMED_WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for  <0x000000026b4317f0> (a
java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync)
        at
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
        at
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1037)
        at
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1328)
        at
java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.tryLock(ReentrantReadWriteLock.java:871)
        at
org.apache.solr.update.DefaultSolrCoreState.lock(DefaultSolrCoreState.java:176)
        at
org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:121)
        at
org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:618)
        at org.apache.solr.update.CommitTracker.run(CommitTracker.java:217)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)




--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to