You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Rakesh R (JIRA)" <ji...@apache.org> on 2013/12/13 13:19:07 UTC

[jira] [Created] (ZOOKEEPER-1838) ZooKeeper shutdown hangs indefinitely at NioServerSocketChannelFactory.releaseExternalResources

Rakesh R created ZOOKEEPER-1838:
-----------------------------------

             Summary: ZooKeeper shutdown hangs indefinitely at NioServerSocketChannelFactory.releaseExternalResources
                 Key: ZOOKEEPER-1838
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1838
             Project: ZooKeeper
          Issue Type: Sub-task
          Components: server
            Reporter: Rakesh R
            Assignee: Rakesh R
             Fix For: 3.4.6


Zookeeper shutdown hangs when releasing external resources. This has been observed when executing NioNettySuiteTest.
{code}
"main" prio=6 tid=0x01498400 nid=0x2328 waiting on condition [0x0158e000..0x0158fe28]
   java.lang.Thread.State: TIMED_WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x22f58918> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
	at java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1244)
	at org.jboss.netty.util.internal.ExecutorUtil.terminate(ExecutorUtil.java:87)
	at org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.releaseExternalResources(NioServerSocketChannelFactory.java:146)
	at org.jboss.netty.bootstrap.Bootstrap.releaseExternalResources(Bootstrap.java:324)
	at org.apache.zookeeper.server.NettyServerCnxnFactory.shutdown(NettyServerCnxnFactory.java:345)
	at org.apache.zookeeper.test.ClientBase.shutdownServerInstance(ClientBase.java:355)
	at org.apache.zookeeper.test.ClientBase.stopServer(ClientBase.java:422)
{code}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)