https://issues.apache.org/bugzilla/show_bug.cgi?id=55144
Bug ID: 55144 Summary: NIO connection locked when trying to release it Product: Tomcat 7 Version: 7.0.41 Hardware: PC Status: NEW Severity: major Priority: P2 Component: Connectors Assignee: dev@tomcat.apache.org Reporter: pavel.re...@gmail.com I'm using Atmoshphere framework and when I try to resume a resource it locks (can be for hours) I'm not sure how to reproduce since it's happening on our prod servers. Using windows server 2008 standard x64 R2, tomcat 7.0.41, java jrockit-jdk1.6.0_37-R28.2.5-4.1.0 This was happening since version 7.0.30 (that's the one we started using) see dump: "CleanResourceTask" id=79 idx=0x14c tid=228160 prio=5 alive, parked, native_blocked, daemon at jrockit/vm/Locks.park0(J)V(Native Method) at jrockit/vm/Locks.park(Locks.java:2230)[optimized] at jrockit/proxy/sun/misc/Unsafe.park(Unsafe.java:616)[inlined] at java/util/concurrent/locks/LockSupport.parkNanos(LockSupport.java:196)[inlined] at java/util/concurrent/locks/AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1011)[inlined] at java/util/concurrent/locks/AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1303)[inlined] at java/util/concurrent/CountDownLatch.await(CountDownLatch.java:253)[inlined] at org/apache/tomcat/util/net/NioEndpoint$KeyAttachment.awaitLatch(NioEndpoint.java:1577)[inlined] at org/apache/tomcat/util/net/NioEndpoint$KeyAttachment.awaitWriteLatch(NioEndpoint.java:1580)[inlined] at org/apache/tomcat/util/net/NioBlockingSelector.write(NioBlockingSelector.java:109)[optimized] at org/apache/tomcat/util/net/NioSelectorPool.write(NioSelectorPool.java:174)[optimized] at org/apache/coyote/http11/InternalNioOutputBuffer.writeToSocket(InternalNioOutputBuffer.java:163)[inlined] at org/apache/coyote/http11/InternalNioOutputBuffer.flushBuffer(InternalNioOutputBuffer.java:242)[optimized] ^-- Holding lock: org/apache/coyote/http11/InternalNioOutputBuffer@0x0000000222F4BE70[fat lock] at org/apache/coyote/http11/InternalNioOutputBuffer.endRequest(InternalNioOutputBuffer.java:121) at org/apache/coyote/http11/AbstractHttp11Processor.action(AbstractHttp11Processor.java:752)[optimized] at org/apache/coyote/Response.action(Response.java:173)[inlined] at org/apache/coyote/Response.finish(Response.java:279)[inlined] at org/apache/catalina/connector/OutputBuffer.close(OutputBuffer.java:313)[optimized] at org/apache/catalina/connector/Response.finishResponse(Response.java:512) at org/apache/catalina/connector/CometEventImpl.close(CometEventImpl.java:96) at org/atmosphere/container/Tomcat7CometSupport.bz51881(Tomcat7CometSupport.java:178)[optimized] at org/atmosphere/container/Tomcat7CometSupport.action(Tomcat7CometSupport.java:209) at org/atmosphere/container/Tomcat7CometSupport.action(Tomcat7CometSupport.java:47) at org/atmosphere/cpr/AtmosphereResourceImpl.resume(AtmosphereResourceImpl.java:323)[optimized] at com/fx/tasks/CleanResourceTask.resumeOldResources(CleanResourceTask.java:97)[inlined] at com/fx/tasks/CleanResourceTask.access$200(CleanResourceTask.java:26)[optimized] at com/fx/tasks/CleanResourceTask$1.run(CleanResourceTask.java:51) at java/lang/Thread.run(Thread.java:662) at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method) -- end of trace -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org