Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Evidence of JVM becomes unresponsive

SA-76406

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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us