You see the following entry in the thread dumps while analyzing a system’s performance:ajp-8019- 43″ nid=183 state=WAITING – waiting on <0x515a41f6> (a org.apache.tomcat.util.net.JIoEndpoint$Worker) – locked <0x515a41f6> (a org.apache.tomcat.util.net.JioEndpoint$Worker)at java.lang.Object.wait(Native Method)at java.lang.Object.wait(Object.java :485)at org.apache.tomcat.util.net.JioEndpoint$Worker.await(JioEndpoint.java :471)at org.apache.tomcat.util.net.JioEndpoint$Worker.run(JioEndpoint.java :497)at java.lang.Thread.run(Thread.java:662)Locked synchronizers: count = 0 How do you interpret this thread dump?
A. The Tomcat AJP parameter maxThreads is too small to handle simultaneous requests.
B. The thread is waiting for an incoming connection.
C. The system is about to crash because the thread is blocked and cannot perform its job.
D. The JVM option maxAJPThreads is too small to handle simultaneous requests.
Answer:B
You see the following entry in the thread dumps while analyzing a system’s performance:ajp-8019- 43″ nid=183 state=WAITING – waiting on <0x515a41f6> (a org.apache.tomcat.util.net.JIoEndpoint$Worker) – locked <0x515a41f6> (a org.apache.tomcat.util.net.JioEndpoint$Worker)at java.lang.Object.wait(Native Method)at java.lang.Object.wait(Object.java :485)at org.apache.tomcat.util.net.JioEndpoint$Worker.await(JioEndpoint.java :471)at org.apache.tomcat.util.net.JioEndpoint$Worker.run(JioEndpoint.java :497)at java.lang.Thread.run(Thread.java:662)Locked synchronizers: count = 0 How do you interpret this thread dump?
A. The Tomcat AJP parameter maxThreads is too small to handle simultaneous requests. B. The thread is waiting for an incoming connection. C. The system is about to crash because the thread is blocked and cannot perform its job. D. The JVM option maxAJPThreads is too small to handle simultaneous requests.