Support Article
Evidence of JVM becomes unresponsive
Summary
Evidence of JVM becomes unresponsive particularly in relation to a node hosting a DNode Cassandra process as part of a cluster. The external system invoking Pega's next-best-action service reports no response. Issues occur in the PegaRULES log when the dataflow runs. 'Caused By' stack displays for both the scenarios.
Error Messages
Caused by:com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (no host was tried)
at com.datastax.driver.core.RequestHandler.reportNoMoreHosts(RequestHandler.java:211) ~[cassandra-driver-core-3.1.2.jar:?]
at com.datastax.driver.core.RequestHandler.access$1000(RequestHandler.java:46) ~[cassandra-driver-core-3.1.2.jar:?]
Steps to Reproduce
Unknown
Root Cause
Memory issue related to the Cassandra process and it's database driver. A key element in the issue is the use of IBM JDK.
Resolution
Perform the following local-change:
Disable the direct memory using the below JVM argument settings:
- Dio.netty.noPreferDirect=true
- Dio.netty.allocator.type=unpooled
- Dio.netty.maxDirectMemory=0
Published April 4, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.