curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bae, Jae Hyeon" <metac...@gmail.com>
Subject Re: Blocked on InterProcessMutex
Date Fri, 08 Nov 2013 19:46:34 GMT
I forgot to mention the curator version: 2.0.1-incubating. Is this known
issue? Can I be sure that 2.3.0 will solve this problem?


On Fri, Nov 8, 2013 at 11:43 AM, Bae, Jae Hyeon <metacret@gmail.com> wrote:

> Hi
>
> I got reported that unresponsive servers in production very frequently and
> the symptom is that all http threads are hung on ZK activity. It looks
> InternalBlockUntilConnectedOrTimeOut called from InterProcessMutex recipes.
> The followings are stack trace snippets. Do you have any clue what's wrong
> here?
>
> Thank you
> Best, Jae
>
> "http-0.0.0.0-7101-3" daemon prio=10 tid=0x00000000015c6000 nid=0x11ae
> waiting on condition [0x00007f91771ee000]
>    java.lang.Thread.State: TIMED_WAITING (parking)
> at sun.misc.Unsafe.park(Native Method)
>  - parking to wait for  <0x00000005ee0b7688> (a
> java.util.concurrent.CountDownLatch$Sync)
>  at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
> at
> java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1033)
>  at
> java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1326)
>  at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:282)
>  at
> org.apache.curator.CuratorZookeeperClient.internalBlockUntilConnectedOrTimedOut(CuratorZookeeperClient.java:296)
>  at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:105)
> at
> org.apache.curator.framework.imps.CreateBuilderImpl.findProtectedNodeInForeground(CreateBuilderImpl.java:660)
>  at
> org.apache.curator.framework.imps.CreateBuilderImpl.access$800(CreateBuilderImpl.java:42)
>  at
> org.apache.curator.framework.imps.CreateBuilderImpl$10.call(CreateBuilderImpl.java:619)
> at
> org.apache.curator.framework.imps.CreateBuilderImpl$10.call(CreateBuilderImpl.java:610)
>  at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:107)
>  at
> org.apache.curator.framework.imps.CreateBuilderImpl.pathInForeground(CreateBuilderImpl.java:606)
> at
> org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:429)
>  at
> org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:409)
>  at
> org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:42)
> at
> org.apache.curator.framework.recipes.locks.LockInternals.attemptLock(LockInternals.java:224)
>  at
> org.apache.curator.framework.recipes.locks.InterProcessMutex.internalLock(InterProcessMutex.java:221)
>  at
> org.apache.curator.framework.recipes.locks.InterProcessMutex.acquire(InterProcessMutex.java:96)
>

Mime
View raw message