AEM 6.4 + SP2 - Server hang issue very frequently

Praveen_RV

04-02-2019

Hi Team,

We are using AEM 6.4 + SP2 on Linux environment and observing server hanging issues very frequently 2-3 times per week with the below thread block stack trace.

Is it a problem with Jetty or anyother?

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 <0x00000005c1e8dd38> (a java.lang.Object)

at org.eclipse.jetty.server.ServerConnector.accept(ServerConnector.java:369)

at org.eclipse.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java:639)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680)

at java.lang.Thread.run(Thread.java:748)

Accepted Solutions (1)

Accepted Solutions (1)

Jörg_Hoh

Employee

05-02-2019

This is nothing to worry about this marked lock, as this is a thread ready to pick up an incoming request, also the thread state is RUNNABLE.

Jörg

Answers (2)

Answers (2)

Praveen_RV

05-02-2019

Thanks Jorg for your reply, may be my question was incomplete.

you are right, this thread is at runnable condition and ready to accept any incoming requests. but there are other threads in BLOCKED state for this thread to release the lock on java.lang.Object.

Please let me know for any possible way to diagnose this.

java.lang.Thread.State: BLOCKED (on object monitor)

at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:233)

- waiting to lock <0x00000005c1e8dd38> (a java.lang.Object)

at org.eclipse.jetty.server.ServerConnector.accept(ServerConnector.java:369)

at org.eclipse.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java:639)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680)

at java.lang.Thread.run(Thread.java:748)