Looks like all the threads are waiting on the same lock?

parking to wait for <0x00000006c09932f8> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)


Igal Sapir
Lucee Core Developer
Lucee.org <http://lucee.org/>

On 3/22/2017 8:50 AM, Igal @ Lucee.org wrote:

I am running an application on Tomcat 8.5.12 on Windows 2008R2 64bit with Server JRE 1.8.0u121. Right now the process is still running but no requests are being processed, or take a very long time to process.

For example, I created a simple test.html file with one line of html and it took several minutes to serve it.

This application has been running on Tomcat 8.5.11 for a while with no issue, so I suspect some bug may have been introduced in 8.5.12.

STDERR shows the following possibly related entries:

Exception in thread "http-nio-8181-exec-1" java.lang.IllegalMonitorStateException at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:151) at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1261) at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:457) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:449)
    at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:103)
    at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:31)
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 org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
Exception in thread "http-nio-8181-exec-6" java.lang.IllegalMonitorStateException at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:151) at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1261) at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:457) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:449)
    at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:103)
    at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:31)
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 org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)

Thread dump is attached.

Any ideas?

Thank you,


Igal Sapir
Lucee Core Developer
Lucee.org <http://lucee.org/>

Reply via email to