users@grizzly.java.net

Re:unable to serve request after 1.9.16 controller started

From: Bongjae Chang <carryel_at_korea.com>
Date: Sun, 14 Jun 2009 18:53:22 +0900

Hi Amy,

 

It seems that the problem is caused by the lack of runtime threads.

 

I think that this problem is already fixed at rev.3315.

 

Hear are the related issues:

https://grizzly.dev.java.net/issues/show_bug.cgi?id=652

https://grizzly.dev.java.net/issues/show_bug.cgi?id=637

 

But you can also avoid the problem by the following workaround.

 

- Create DefaultThreadPool with sufficient core pool size and max pool size manually. I think that 5 * cpu_num is enough for both core pool size and max pool size.

 

---

int corePoolsize = 5 * currentCPUNum;

int maxPoolSize = corePoolSize;

DefaultThreadPool threadPool = new DefaultThreadPool(name, corePoolsize, maxPoolSize, keepAliveTime, timeUnit);

controller.setThreadPool( threadPool );

---

 

But I suggest that it is better that you try to test it on current svn version because more fixed issues could exist.

 

Thanks.

------------ Original Message ------------
From : 'Amy Kang'<Amy.Kang@Sun.COM>
To : users@grizzly.dev.java.net
Sent : Sat, 13 Jun 2009 10:00:22 -0700
Subject : unable to serve request after 1.9.16 controller started
 

Hi,

I'v noticed this on Solaris as well as on Windows after replaced Grizzly
1.9.11 framework jar to 1.9.16: after Grizzly controller
initialized/started,
it's unable to serve client request - the client just hangs in waiting
for server reply.
The same client has been working fine with previous versions of Grizzly NIO
framework (used versions <= 1.9.11).

I wonder if any initialization setup changes needed to use 1.9.16. The
following
is the server side stacktrace right after the controller is started and
during client
attempting connecting. Please contact me for a pointer to reproduce
this if necessary.

>>>>>>>>>after Grizzly Controller started
Java HotSpot(TM) Server VM (1.5.0_14-b03 mixed mode):

"DestroyJavaVM" prio=10 tid=0x00037530 nid=0x1 waiting on condition
[0x00000000..0xffbfe620]


"Grizzly-WorkerThread(4)" prio=10 tid=0x00a9e780 nid=0x24 runnable
[0xe80af000..0xe80afa70]
at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method)
at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:164)
at
sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:68)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
- locked <0xf4fc2ef8> (a sun.nio.ch.Util$1)
- locked <0xf4fc2ee8> (a java.util.Collections$UnmodifiableSet)
- locked <0xf4fc2cf8> (a sun.nio.ch.DevPollSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
at
com.sun.grizzly.TCPSelectorHandler.select(TCPSelectorHandler.java:487)
at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:184)
at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:129)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:338)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:321)
at java.lang.Thread.run(Thread.java:595)

"Grizzly-WorkerThread(2)" daemon prio=10 tid=0x009e4d48 nid=0x23
runnable [0xe80df000..0xe80df8f0]
at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method)
at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:164)
at
sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:68)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
- locked <0xf4dd7178> (a sun.nio.ch.Util$1)
- locked <0xf4dd7168> (a java.util.Collections$UnmodifiableSet)
- locked <0xf4dd6f68> (a sun.nio.ch.DevPollSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
at
com.sun.grizzly.TCPSelectorHandler.select(TCPSelectorHandler.java:487)
at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:184)
at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:129)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:338)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:321)
at java.lang.Thread.run(Thread.java:595)

"Grizzly-WorkerThread(3)" daemon prio=10 tid=0x00a2ec48 nid=0x22
runnable [0xe810f000..0xe810f970]
at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method)
at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:164)
at
sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:68)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
- locked <0xf4dd8138> (a sun.nio.ch.Util$1)
- locked <0xf4dd8128> (a java.util.Collections$UnmodifiableSet)
- locked <0xf4dd7f38> (a sun.nio.ch.DevPollSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
at
com.sun.grizzly.TCPSelectorHandler.select(TCPSelectorHandler.java:487)
at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:184)
at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:129)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:338)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:321)
at java.lang.Thread.run(Thread.java:595)

"Grizzly-WorkerThread(0)" daemon prio=10 tid=0x00a05db0 nid=0x21
runnable [0xe813f000..0xe813fbf0]
at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method)
at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:164)
at
sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:68)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
- locked <0xf4dd8f18> (a sun.nio.ch.Util$1)
- locked <0xf4dd8f08> (a java.util.Collections$UnmodifiableSet)
- locked <0xf4dd8d18> (a sun.nio.ch.DevPollSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
at
com.sun.grizzly.TCPSelectorHandler.select(TCPSelectorHandler.java:487)
at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:184)
at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:129)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:338)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:321)
at java.lang.Thread.run(Thread.java:595)

"Grizzly-WorkerThread(1)" daemon prio=10 tid=0x00a76258 nid=0x20
runnable [0xe816f000..0xe816fc70]
at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method)
at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:164)
at
sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:68)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
- locked <0xf4dd9cf8> (a sun.nio.ch.Util$1)
- locked <0xf4dd9ce8> (a java.util.Collections$UnmodifiableSet)
- locked <0xf4dd9af8> (a sun.nio.ch.DevPollSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
at
com.sun.grizzly.TCPSelectorHandler.select(TCPSelectorHandler.java:487)
at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:184)
at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:129)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:338)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:321)
at java.lang.Thread.run(Thread.java:595)

"Thread-10" daemon prio=10 tid=0x00466848 nid=0x1f in Object.wait()
[0xe82bf000..0xe82bfaf0]
at java.lang.Object.wait(Native Method)
- waiting on <0xf4f0fd18> (a
java.util.concurrent.atomic.AtomicInteger)
at
com.sun.grizzly.Controller.waitUntilSeletorHandlersStop(Controller.java:1012)
- locked <0xf4f0fd18> (a java.util.concurrent.atomic.AtomicInteger)
at com.sun.grizzly.ReadController.start(ReadController.java:120)
at com.sun.grizzly.Controller.run(Controller.java:634)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

"Thread-9" daemon prio=10 tid=0x0062dd60 nid=0x1e in Object.wait()
[0xe82ef000..0xe82efb70]
at java.lang.Object.wait(Native Method)
- waiting on <0xf4ebde38> (a
java.util.concurrent.atomic.AtomicInteger)
at
com.sun.grizzly.Controller.waitUntilSeletorHandlersStop(Controller.java:1012)
- locked <0xf4ebde38> (a java.util.concurrent.atomic.AtomicInteger)
at com.sun.grizzly.ReadController.start(ReadController.java:120)
at com.sun.grizzly.Controller.run(Controller.java:634)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

"Thread-8" daemon prio=10 tid=0x00ad11b0 nid=0x1d in Object.wait()
[0xe843f000..0xe843f9f0]
at java.lang.Object.wait(Native Method)
- waiting on <0xf4e6bf58> (a
java.util.concurrent.atomic.AtomicInteger)
at
com.sun.grizzly .Controller.waitUntilSeletorHandlersStop(Controller.java:1012)
- locked <0xf4e6bf58> (a java.util.concurrent.atomic.AtomicInteger)
at com.sun.grizzly.ReadController.start(ReadController.java:120)
at com.sun.grizzly.Controller.run(Controller.java:634)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

"Thread-7" daemon prio=10 tid=0x0061bf30 nid=0x1c in Object.wait()
[0xe846f000..0xe846fa70]
at java.lang.Object.wait(Native Method)
- waiting on <0xf4e1a078> (a
java.util.concurrent.atomic.AtomicInteger)
at
com.sun.grizzly.Controller.waitUntilSeletorHandlersStop(Controller.java:1012)
- locked <0xf4e1a078> (a java.util.concurrent.atomic.AtomicInteger)
at com.sun.grizzly.ReadController.start(ReadController.java:120)
at com.sun.grizzly.Controller.run(Controller.java:634)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

"Thread-6" prio=10 tid=0x00a75bb8 nid=0x1b in Object.wait()
[0xe86ef000..0xe86ef8f0]
at java.lang.Object.wait(Native Method)
- waiting on <0xf4de2260> (a
java.util.concurrent.atomic.AtomicInteger)
at
com.sun.grizzly.Controller.waitUntilSeletorHandlersStop(Controller.java:1012)
- locked <0xf4de2260> (a java.util.concurrent.atomic.AtomicInteger)
at com.sun.grizzly.Controller.start(Controller.java:764)
at com.sun.grizzly.Controller.run(Controller.java:634)
at java.lang.Thread.run(Thread.java:595)

"GC Daemon" daemon prio=2 tid=0x00394400 nid=0x16 in Object.wait()
[0xf88bf000..0xf88bfb70]
at java.lang.Object.wait(Native Method)
- waiting on <0xec804028> (a sun.misc.GC$LatencyLock)
at sun.misc.GC$Daemon.run(GC.java:100)
- locked <0xec804028> (a sun.misc.GC$LatencyLock)

"RMI Reaper" prio=10 tid=0x005cb658 nid=0x15 in Object.wait()
[0xf88ef000..0xf88ef9f0]
at java.lang.Object.wait(Native Method)
- waiting on <0xec804158> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:120)
- locked <0xec804158> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:136)
at sun.rmi.transport.ObjectTable$Reaper.run(ObjectTable.java:336)
at java.lang.Thread.run(Thread.java:595)

"Timer-0" daemon prio=10 tid=0x0044d438 nid=0x14 in Object.wait()
[0xf89bf000..0xf89bfa70]
at java.lang.Object.wait(Native Method)
- waiting on <0xec804250> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0xec804250> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)

"RMI TCP Accept-0" daemon prio=10 tid=0x0044b5c0 nid=0x13 runnable
[0xf89ef000..0xf89ef8f0]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
- locked <0xec8044e0> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:450)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at sun.rmi.transport.tcp.TCPTransport.run(TCPTransport.java:340)
at java.lang.Thread.run(Thread.java:595)

"Low Memory Detector" daemon prio=10 tid=0x0015e680 nid=0xd runnable
[0x00000000..0x00000000]

"CompilerThread1" daemon prio=10 tid=0x0015cdc0 nid=0xc waiting on
condition [0x00000000..0xf8a7ea7c]

"CompilerThread0" daemon prio=10 tid=0x0015bf48 nid=0xb waiting on
condition [0x00000000..0xf8b7e8b4]

"AdapterThread" daemon prio=10 tid=0x0015b0d0 nid=0xa waiting on
condition [0x00000000..0x00000000]

"Signal Dispatcher" daemon prio=10 tid=0x0015a2c0 nid=0x9 waiting on
condition [0x00000000..0x00000000]

"Finalizer" daemon prio=10 tid=0x0014dea8 nid=0x8 in Object.wait()
[0xfe46f000..0xfe46fc70]
at java.lang.Object.wait(Native Method)
- waiting on <0xec808220> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:120)
- locked <0xec808220> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:136)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x0014d968 nid=0x7 in
Object.wait() [0xfe52f000..0xfe52faf0]
at java.lang.Object.wait(Native Method)
- waiting on <0xec804018> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:474)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0xec804018> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x0014b280 nid=0x6 runnable

"GC task thread#0 (ParallelGC)" prio=10 tid=0x000b8ff8 nid=0x2 runnable

"GC task thread#1 (ParallelGC)" prio=10 tid=0x000b9a38 nid=0x3 runnable

"GC task thread#2 (ParallelGC)" prio=10 tid=0x000ba478 nid=0x4 runnable

"GC task thread#3 (ParallelGC)" prio=10 tid=0x000baeb8 nid=0x5 runnable

"VM Periodic Task Thread" prio=10 tid=0x000b06f0 nid=0xe waiting on
condition
----------------------------------------------------------------------------------------------

>>>>>>when first client attempt connecting, client just hangs in
waiting server reply
Java HotSpot(TM) Server VM (1.5.0_14-b03 mixed mode):

"DestroyJavaVM" prio=10 tid=0x00037530 nid=0x1 waiting on condition
[0x00000000..0xffbfe620]

"Grizzly-WorkerThread(4)" prio=10 tid=0x00a9e780 nid=0x24 runnable
[0xe80af000..0xe80afa70]
at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method)
at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:164)
at
sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:68)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
- locked <0xec941de8> (a sun.nio.ch.Util$1)
- locked <0xec941dd8> (a java.util.Collections$UnmodifiableSet)
- locked <0xec941c00> (a sun.nio.ch.DevPollSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
at
com.sun.grizzly.TCPSelectorHandler.select(TCPSelectorHandler.java:487)
at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:184)
at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:129)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:338)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:321)
at java.lang.Thread.run(Thread.java:595)

"Grizzly-WorkerThread(2)" daemon prio=10 tid=0x009e4d48 nid=0x23
runnable [0xe80df000..0xe80df8f0]
at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method)
at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:164)
at
sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:68)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
- locked <0xec932f10> (a sun.nio.ch.Util$1)
- locked <0xec932f00> (a java.util.Collections$UnmodifiableSet)
- locked <0xec932e20> (a sun.nio.ch.DevPollSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
at
com.sun.grizzly.TCPSelectorHandler.select(TCPSelectorHandler.java:487)
at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:184)
at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:129)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:338)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:321)
at java.lang.Thread.run(Thread.java:595)

"Grizzly-WorkerThread(3)" daemon prio=10 tid=0x00a2ec48 nid=0x22
runnable [0xe810f000..0xe810f970]
at sun.nio.ch.DevPollArrayWrapper.poll0(N at ive Method)
at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:164)
at
sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:68)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
- locked <0xec95ccf0> (a sun.nio.ch.Util$1)
- locked <0xec95cce0> (a java.util.Collections$UnmodifiableSet)
- locked <0xec953d68> (a sun.nio.ch.DevPollSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
at
com.sun.grizzly.TCPSelectorHandler.select(TCPSelectorHandler.java:487)
at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:184)
at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:129)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:338)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:321)
at java.lang.Thread.run(Thread.java:595)

"Grizzly-WorkerThread(0)" daemon prio=10 tid=0x00a05db0 nid=0x21
runnable [0xe813f000..0xe813fbf0]
at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method)
at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:164)
at
sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:68)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
- locked <0xec934100> (a sun.nio.ch.Util$1)
- locked <0xec9340f0> (a java.util.Collections$UnmodifiableSet)
- locked <0xec934010> (a sun.nio.ch.DevPollSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
at
com.sun.grizzly.TCPSelectorHandler.select(TCPSelectorHandler.java:487)
at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:184)
at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:129)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:338)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:321)
at java.lang.Thread.run(Thread.java:595)

"Grizzly-WorkerThread(1)" daemon prio=10 tid=0x00a76258 nid=0x20
runnable [0xe816f000..0xe816fc70]
at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method)
at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:164)
at
sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:68)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
- locked <0xec931690> (a sun.nio.ch.Util$1)
- locked <0xec931680> (a java.util.Collections$UnmodifiableSet)
- locked <0xec931548> (a sun.nio.ch.DevPollSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
at
com.sun.grizzly.TCPSelectorHandler.select(TCPSelectorHandler.java:487)
at
com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:184)
at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:129)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:338)
at
com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:321)
at java.lang.Thread.run(Thread.java:595)

"Thread-10" daemon prio=10 tid=0x00466848 nid=0x1f in Object.wait()
[0xe82bf000..0xe82bfaf0]
at java.lang.Object.wait(Native Method)
- waiting on <0xec930c18> (a
java.util.concurrent.atomic.AtomicInteger)
at
com.sun.grizzly.Controller.waitUntilSeletorHandlersStop(Controller.java:1012)
- locked <0xec930c18> (a java.util.concurrent.atomic.AtomicInteger)
at com.sun.grizzly.ReadController.start(ReadController.java:120)
at com.sun.grizzly.Controller.run(Controller.java:634)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

"Thread-9" daemon prio=10 tid=0x0062dd60 nid=0x1e in Object.wait()
[0xe82ef000..0xe82efb70]
at java.lang.Object.wait(Native Method)
- waiting on <0xec931168> (a
java.util.concurrent.atomic.AtomicInteger)
at
com.sun.grizzly.Controller.waitUntilSeletorHandlersStop(Controller.java:1012)
- locked <0xec931168> (a java.util.concurrent.atomic.AtomicInteger)
at com.sun.grizzly.ReadController.start(ReadController.java:120)
at com.sun.grizzly.Controller.run(Controller.java:634)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

"Thread-8" daemon prio=10 tid=0x00ad11b0 nid=0x1d in Object.wait()
[0xe843f000..0xe843f9f0]
at java.lang.Object.wait(Native Method)
- waiting on <0xec940f90> (a
java.util.concurrent.atomic.AtomicInteger)
at
com.sun.grizzly.Controller.waitUntilSeletorHandlersStop(Controller.java:1012)
- locked <0xec940f90> (a java.util.concurrent.atomic.AtomicInteger)
at com.sun.grizzly.ReadController.start(ReadController.java:120)
at com.sun.grizzly.Controller.run(Controller.java:634)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

"Thread-7" daemon prio=10 tid=0x0061bf30 nid=0x1c in Object.wait()
[0xe846f000..0xe846fa70]
at java.lang.Object.wait(Native Method)
- waiting on <0xec91eb30> (a
java.util.concurrent.atomic.AtomicInteger)
at
com.sun.grizzly.Controller.waitUntilSeletorHandlersStop(Controller.java:1012)
- locked <0xec91eb30> (a java.util.concurrent.atomic.AtomicInteger)
at com.sun.grizzly.ReadController.start(ReadController.java:120)
at com.sun.grizzly.Controller.run(Controller.java:634)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

"Thread-6" prio=10 tid=0x00a75bb8 nid=0x1b in Object.wait()
[0xe86ef000..0xe86ef8f0]
at java.lang.Object.wait(Native Method)
- waiting on <0xec91d5e8> (a
java.util.concurrent.atomic.AtomicInteger)
at
com.sun.grizzly.Controller.waitUntilSeletorHandlersStop(Controller.java:1012)
- locked <0xec91d5e8> (a java.util.concurrent.atomic.AtomicInteger)
at com.sun.grizzly.Controller.start(Controller.java:764)
at com.sun.grizzly.Controller.run(Controller.java:634)
at java.lang.Thread.run(Thread.java:595)

"GC Daemon" daemon prio=2 tid=0x00394400 nid=0x16 in Object.wait()
[0xf88bf000..0xf88bfb70]
at java.lang.Object.wait(Native Method)
- waiting on <0xec8038f0> (a sun.misc.GC$LatencyLock)
at sun.misc.GC$Daemon.run(GC.java:100)
- locked <0xec8038f0> (a sun.misc.GC$LatencyLock)

"RMI Reaper" prio=10 tid=0x005cb658 nid=0x15 in Object.wait()
[0xf88ef000..0xf88ef9f0]
at java.lang.Object.wait(Native Method)
- waiting on <0xec803a20> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:120)
- locked <0xec803a20> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:136)
at sun.rmi.transport.ObjectTable$Reaper.run(ObjectTable.java:336)
at java.lang.Thread.run(Thread.java:595)

"Timer-0" daemon prio=10 tid=0x0044d438 nid=0x14 in Object.wait()
[0xf89bf000..0xf89bfa70]
at java.lang.Object.wait(Native Method)
- waiting on <0xec803b18> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0xec803b18> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)

"RMI TCP Accept-0" daemon prio=10 tid=0x0044b5c0 nid=0x13 runnable
[0xf89ef000..0xf89ef8f0]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
- locked <0xec 803da8> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:450)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at sun.rmi.transport.tcp.TCPTransport.run(TCPTransport.java:340)
at java.lang.Thread.run(Thread.java:595)

"Low Memory Detector" daemon prio=10 tid=0x0015e680 nid=0xd runnable
[0x00000000..0x00000000]

"CompilerThread1" daemon prio=10 tid=0x0015cdc0 nid=0xc waiting on
condition [0x00000000..0xf8a7ea7c]

"CompilerThread0" daemon prio=10 tid=0x0015bf48 nid=0xb waiting on
condition [0x00000000..0xf8b7e9a4]

"AdapterThread" daemon prio=10 tid=0x0015b0d0 nid=0xa waiting on
condition [0x00000000..0x00000000]

"Signal Dispatcher" daemon prio=10 tid=0x0015a2c0 nid=0x9 waiting on
condition [0x00000000..0x00000000]

"Finalizer" daemon prio=10 tid=0x0014dea8 nid=0x8 in Object.wait()
[0xfe46f000..0xfe46fc70]
at java.lang.Object.wait(Native Method)
- waiting on <0xec806b10> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:120)
- locked <0xec806b10> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:136)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x0014d968 nid=0x7 in
Object.wait() [0xfe52f000..0xfe52faf0]
at java.lang.Object.wait(Native Method)
- waiting on <0xec8038e0> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:474)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0xec8038e0> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x0014b280 nid=0x6 runnable

"GC task thread#0 (ParallelGC)" prio=10 tid=0x000b8ff8 nid=0x2 runnable

"GC task thread#1 (ParallelGC)" prio=10 tid=0x000b9a38 nid=0x3 runnable

"GC task thread#2 (ParallelGC)" prio=10 tid=0x000ba478 nid=0x4 runnable

"GC task thread#3 (ParallelGC)" prio=10 tid=0x000baeb8 nid=0x5 runnable

"VM Periodic Task Thread" prio=10 tid=0x000b06f0 nid=0xe waiting on
condition
----------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@grizzly.dev.java.net
For additional commands, e-mail: users-help@grizzly.dev.java.net