lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rallavagu <rallav...@gmail.com>
Subject Re: Recovery Thread Blocked
Date Fri, 02 Oct 2015 23:17:54 GMT
Here is the stack trace of the thread that is holding the lock.


"Thread-55266" id=77142 idx=0xc18 tid=992 prio=5 alive, waiting, 
native_blocked, daemon
     -- Waiting for notification on: 
org/apache/solr/cloud/RecoveryStrategy@0x3f34e8480[fat lock]
     at pthread_cond_wait@@GLIBC_2.3.2+202(:0)@0x3d4180b5ba
     at eventTimedWaitNoTransitionImpl+71(event.c:90)@0x7ff3133b6ba8
     at 
syncWaitForSignalNoTransition+65(synchronization.c:28)@0x7ff31354a0b2
     at syncWaitForSignal+189(synchronization.c:85)@0x7ff31354a20e
     at syncWaitForJavaSignal+38(synchronization.c:93)@0x7ff31354a327
     at 
RJNI_jrockit_vm_Threads_waitForNotifySignal+73(rnithreads.c:72)@0x7ff31351939a
     at 
jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
     at java/lang/Object.wait(J)V(Native Method)
     at java/lang/Thread.join(Thread.java:1206)
     ^-- Lock released while waiting: 
org/apache/solr/cloud/RecoveryStrategy@0x3f34e8480[fat lock]
     at java/lang/Thread.join(Thread.java:1259)
     at 
org/apache/solr/update/DefaultSolrCoreState.cancelRecovery(DefaultSolrCoreState.java:331)
     ^-- Holding lock: java/lang/Object@0x114d8dd00[recursive]
     at 
org/apache/solr/update/DefaultSolrCoreState.doRecovery(DefaultSolrCoreState.java:297)
     ^-- Holding lock: java/lang/Object@0x114d8dd00[fat lock]
     at 
org/apache/solr/handler/admin/CoreAdminHandler$2.run(CoreAdminHandler.java:770)
     at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)


Stack trace of one of the 870 threads that is waiting for the lock to be 
released.

"Thread-55489" id=77520 idx=0xebc tid=1494 prio=5 alive, blocked, 
native_blocked, daemon
     -- Blocked trying to get lock: java/lang/Object@0x114d8dd00[fat lock]
     at pthread_cond_wait@@GLIBC_2.3.2+202(:0)@0x3d4180b5ba
     at eventTimedWaitNoTransitionImpl+71(event.c:90)@0x7ff3133b6ba8
     at 
syncWaitForSignalNoTransition+65(synchronization.c:28)@0x7ff31354a0b2
     at syncWaitForSignal+189(synchronization.c:85)@0x7ff31354a20e
     at syncWaitForJavaSignal+38(synchronization.c:93)@0x7ff31354a327
     at jrockit/vm/Threads.waitForUnblockSignal()V(Native Method)
     at jrockit/vm/Locks.fatLockBlockOrSpin(Locks.java:1411)[optimized]
     at jrockit/vm/Locks.lockFat(Locks.java:1512)[optimized]
     at 
jrockit/vm/Locks.monitorEnterSecondStageHard(Locks.java:1054)[optimized]
     at jrockit/vm/Locks.monitorEnterSecondStage(Locks.java:1005)[optimized]
     at jrockit/vm/Locks.monitorEnter(Locks.java:2179)[optimized]
     at 
org/apache/solr/update/DefaultSolrCoreState.doRecovery(DefaultSolrCoreState.java:290)
     at 
org/apache/solr/handler/admin/CoreAdminHandler$2.run(CoreAdminHandler.java:770)
     at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)

On 10/2/15 4:12 PM, Rallavagu wrote:
> Solr 4.6.1 on Tomcat 7, single shard 4 node cloud with 3 node zookeeper
>
> During updates, some nodes are going very high cpu and becomes
> unavailable. The thread dump shows the following thread is blocked 870
> threads which explains high CPU. Any clues on where to look?
>
> "Thread-56848" id=79207 idx=0x38 tid=3169 prio=5 alive, blocked,
> native_blocked, daemon
>      -- Blocked trying to get lock: java/lang/Object@0x114d8dd00[fat lock]
>      at pthread_cond_wait@@GLIBC_2.3.2+202(:0)@0x3d4180b5ba
>      at eventTimedWaitNoTransitionImpl+71(event.c:90)@0x7ff3133b6ba8
>      at
> syncWaitForSignalNoTransition+65(synchronization.c:28)@0x7ff31354a0b2
>      at syncWaitForSignal+189(synchronization.c:85)@0x7ff31354a20e
>      at syncWaitForJavaSignal+38(synchronization.c:93)@0x7ff31354a327
>      at jrockit/vm/Threads.waitForUnblockSignal()V(Native Method)
>      at jrockit/vm/Locks.fatLockBlockOrSpin(Locks.java:1411)[optimized]
>      at jrockit/vm/Locks.lockFat(Locks.java:1512)[optimized]
>      at
> jrockit/vm/Locks.monitorEnterSecondStageHard(Locks.java:1054)[optimized]
>      at
> jrockit/vm/Locks.monitorEnterSecondStage(Locks.java:1005)[optimized]
>      at jrockit/vm/Locks.monitorEnter(Locks.java:2179)[optimized]
>      at
> org/apache/solr/update/DefaultSolrCoreState.doRecovery(DefaultSolrCoreState.java:290)
>
>      at
> org/apache/solr/handler/admin/CoreAdminHandler$2.run(CoreAdminHandler.java:770)
>
>      at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)

Mime
View raw message