geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Deppe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-528) Locator not stopping correctly if jmx-manager-port=0
Date Thu, 07 Jan 2016 19:35:40 GMT

     [ https://issues.apache.org/jira/browse/GEODE-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jens Deppe updated GEODE-528:
-----------------------------
    Affects Version/s: 1.0.0-incubating

> Locator not stopping correctly if jmx-manager-port=0
> ----------------------------------------------------
>
>                 Key: GEODE-528
>                 URL: https://issues.apache.org/jira/browse/GEODE-528
>             Project: Geode
>          Issue Type: Bug
>          Components: core, management
>    Affects Versions: 1.0.0-incubating
>            Reporter: Vincent Ford
>            Assignee: Jens Deppe
>             Fix For: 1.0.0-incubating
>
>
> gfsh>start locator --name=locator1 --dir=locator1 --J=-Dgemfire.jmx-manager-port=0
> gfsh>stop locator --dir=locator1
> Stopping Locator running in ...
> Process ID: 17109
> gfsh>quit
> /bin$ jps
> 17109 LocatorLauncher
> 17290 Jps
> /bin$ jstack 17109
> 2015-11-03 10:04:32
> Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode):
> "DestroyJavaVM" #107 prio=5 os_prio=0 tid=0x00007f6ed09a4800 nid=0x42d7 waiting on condition
[0x0000000000000000]
>    java.lang.Thread.State: RUNNABLE
> "org.eclipse.jetty.server.session.HashSessionManager@5ce1a497Timer" #98 daemon prio=5
os_prio=0 tid=0x00007f6e90263800 nid=0x435c waiting on condition [0x00007f6e7dde6000]
>    java.lang.Thread.State: TIMED_WAITING (parking)
> 	at sun.misc.Unsafe.park(Native Method)
> 	- parking to wait for  <0x00000000a4fef080> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
> 	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
> 	at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> "qtp1559640020-97" #97 prio=5 os_prio=0 tid=0x00007f6e90188000 nid=0x435b waiting on
condition [0x00007f6e7d843000]
>    java.lang.Thread.State: TIMED_WAITING (parking)
> 	at sun.misc.Unsafe.park(Native Method)
> 	- parking to wait for  <0x00000000a4fe4ba0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
> 	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
> 	at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:389)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:516)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.access$700(QueuedThreadPool.java:47)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
> 	at java.lang.Thread.run(Thread.java:745)
> "qtp1559640020-96" #96 prio=5 os_prio=0 tid=0x00007f6e90186000 nid=0x435a waiting on
condition [0x00007f6e7d944000]
>    java.lang.Thread.State: TIMED_WAITING (parking)
> 	at sun.misc.Unsafe.park(Native Method)
> 	- parking to wait for  <0x00000000a4fe4ba0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
> 	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
> 	at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:389)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:516)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.access$700(QueuedThreadPool.java:47)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
> 	at java.lang.Thread.run(Thread.java:745)
> "qtp1559640020-95" #95 prio=5 os_prio=0 tid=0x00007f6e90184000 nid=0x4359 waiting on
condition [0x00007f6e7da45000]
>    java.lang.Thread.State: TIMED_WAITING (parking)
> 	at sun.misc.Unsafe.park(Native Method)
> 	- parking to wait for  <0x00000000a4fe4ba0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
> 	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
> 	at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:389)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:516)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.access$700(QueuedThreadPool.java:47)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
> 	at java.lang.Thread.run(Thread.java:745)
> "qtp1559640020-94" #94 prio=5 os_prio=0 tid=0x00007f6e90182000 nid=0x4358 waiting on
condition [0x00007f6e7db46000]
>    java.lang.Thread.State: TIMED_WAITING (parking)
> 	at sun.misc.Unsafe.park(Native Method)
> 	- parking to wait for  <0x00000000a4fe4ba0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
> 	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
> 	at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:389)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:516)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.access$700(QueuedThreadPool.java:47)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
> 	at java.lang.Thread.run(Thread.java:745)
> "qtp1559640020-93" #93 prio=5 os_prio=0 tid=0x00007f6e90180000 nid=0x4357 waiting on
condition [0x00007f6e7dc47000]
>    java.lang.Thread.State: TIMED_WAITING (parking)
> 	at sun.misc.Unsafe.park(Native Method)
> 	- parking to wait for  <0x00000000a4fe4ba0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
> 	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
> 	at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:389)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:516)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.access$700(QueuedThreadPool.java:47)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
> 	at java.lang.Thread.run(Thread.java:745)
> "qtp1559640020-92" #92 prio=5 os_prio=0 tid=0x00007f6e9017e800 nid=0x4356 waiting on
condition [0x00007f6e7dee7000]
>    java.lang.Thread.State: TIMED_WAITING (parking)
> 	at sun.misc.Unsafe.park(Native Method)
> 	- parking to wait for  <0x00000000a4fe4ba0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
> 	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
> 	at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:389)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:516)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.access$700(QueuedThreadPool.java:47)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
> 	at java.lang.Thread.run(Thread.java:745)
> "qtp1559640020-91-acceptor-0@462b12e4-ServerConnector@7a5f5a36{HTTP/1.1}{0.0.0.0:7070}"
#91 prio=5 os_prio=0 tid=0x00007f6e9017d000 nid=0x4355 runnable [0x00007f6e7dfe8000]
>    java.lang.Thread.State: RUNNABLE
> 	at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
> 	at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422)
> 	at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)
> 	- locked <0x00000000e3346808> (a java.lang.Object)
> 	at org.eclipse.jetty.server.ServerConnector.accept(ServerConnector.java:377)
> 	at org.eclipse.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java:500)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:610)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:539)
> 	at java.lang.Thread.run(Thread.java:745)
> "qtp1559640020-90-selector-ServerConnectorManager@696bbff6/0" #90 prio=5 os_prio=0 tid=0x00007f6e90145000
nid=0x4354 runnable [0x00007f6e7e2e9000]
>    java.lang.Thread.State: RUNNABLE
> 	at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
> 	at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
> 	at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:79)
> 	at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
> 	- locked <0x00000000e336bbc8> (a sun.nio.ch.Util$2)
> 	- locked <0x00000000e336b330> (a java.util.Collections$UnmodifiableSet)
> 	- locked <0x00000000e33699f0> (a sun.nio.ch.EPollSelectorImpl)
> 	at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
> 	at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:101)
> 	at org.eclipse.jetty.io.SelectorManager$ManagedSelector.select(SelectorManager.java:596)
> 	at org.eclipse.jetty.io.SelectorManager$ManagedSelector.run(SelectorManager.java:545)
> 	at org.eclipse.jetty.util.thread.NonBlockingThread.run(NonBlockingThread.java:52)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:610)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:539)
> 	at java.lang.Thread.run(Thread.java:745)
> "RMI TCP Connection(idle)" #61 daemon prio=9 os_prio=0 tid=0x00007f6e84009000 nid=0x432a
waiting on condition [0x00007f6e7fbfc000]
>    java.lang.Thread.State: TIMED_WAITING (parking)
> 	at sun.misc.Unsafe.park(Native Method)
> 	- parking to wait for  <0x00000000a4c20720> (a java.util.concurrent.SynchronousQueue$TransferStack)
> 	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
> 	at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
> 	at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
> 	at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
> 	at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> "RMI Scheduler(0)" #18 daemon prio=9 os_prio=0 tid=0x00007f6e8006d800 nid=0x42eb waiting
on condition [0x00007f6eb501c000]
>    java.lang.Thread.State: TIMED_WAITING (parking)
> 	at sun.misc.Unsafe.park(Native Method)
> 	- parking to wait for  <0x00000000a4c0fc58> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
> 	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
> 	at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
> 	- parking to wait for  <0x00000000a4c20720> (a java.util.concurrent.SynchronousQueue$TransferStack)
> 	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
> 	at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
> 	at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
> 	at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
> 	at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> "RMI TCP Accept-0" #14 daemon prio=9 os_prio=0 tid=0x00007f6e8001e800 nid=0x42e5 runnable
[0x00007f6eb5420000]
>    java.lang.Thread.State: RUNNABLE
> 	at java.net.PlainSocketImpl.socketAccept(Native Method)
> 	at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
> 	at java.net.ServerSocket.implAccept(ServerSocket.java:545)
> 	at java.net.ServerSocket.accept(ServerSocket.java:513)
> 	at sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept(LocalRMIServerSocketFactory.java:52)
> 	at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:400)
> 	at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:372)
> 	at java.lang.Thread.run(Thread.java:745)
> "Attach Listener" #13 daemon prio=9 os_prio=0 tid=0x00007f6ea4001000 nid=0x42e4 waiting
on condition [0x0000000000000000]
>    java.lang.Thread.State: RUNNABLE
> "Service Thread" #7 daemon prio=9 os_prio=0 tid=0x00007f6ed00b9800 nid=0x42e0 runnable
[0x0000000000000000]
>    java.lang.Thread.State: RUNNABLE
> "C1 CompilerThread1" #6 daemon prio=9 os_prio=0 tid=0x00007f6ed00b4800 nid=0x42df waiting
on condition [0x0000000000000000]
>    java.lang.Thread.State: RUNNABLE
> "C2 CompilerThread0" #5 daemon prio=9 os_prio=0 tid=0x00007f6ed00b2000 nid=0x42de waiting
on condition [0x0000000000000000]
>    java.lang.Thread.State: RUNNABLE
> "Signal Dispatcher" #4 daemon prio=9 os_prio=0 tid=0x00007f6ed00b0800 nid=0x42dd runnable
[0x0000000000000000]
>    java.lang.Thread.State: RUNNABLE
> "Finalizer" #3 daemon prio=8 os_prio=0 tid=0x00007f6ed007a800 nid=0x42dc in Object.wait()
[0x00007f6eb78d6000]
>    java.lang.Thread.State: WAITING (on object monitor)
> 	at java.lang.Object.wait(Native Method)
> 	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
> 	- locked <0x00000000a4d124a0> (a java.lang.ref.ReferenceQueue$Lock)
> 	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
> 	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)
> "Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x00007f6ed0078800 nid=0x42db in
Object.wait() [0x00007f6eb79d7000]
>    java.lang.Thread.State: WAITING (on object monitor)
> 	at java.lang.Object.wait(Native Method)
> 	at java.lang.Object.wait(Object.java:502)
> 	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:157)
> 	- locked <0x00000000a4d124e0> (a java.lang.ref.Reference$Lock)
> "VM Thread" os_prio=0 tid=0x00007f6ed0073000 nid=0x42da runnable 
> "GC task thread#0 (ParallelGC)" os_prio=0 tid=0x00007f6ed001f000 nid=0x42d8 runnable

> "GC task thread#1 (ParallelGC)" os_prio=0 tid=0x00007f6ed0020800 nid=0x42d9 runnable

> "VM Periodic Task Thread" os_prio=0 tid=0x00007f6ed00bc800 nid=0x42e1 waiting on condition

> JNI global references: 391
> Can be fixed by changing the following line in SystemManagementService.java
>  if (this.agent != null && this.agent.isRunning()) {
> to 
>   if (this.agent != null && (this.agent.isRunning()||this.agent.isHttpServiceRunning()))
{
> As it appears the HTTP service is left running on shutdown of the locator causing it
to remain.  A workaround is to make sure to set a non-zero concrete port.
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message