Support Article
Pega application stopped responding for 10-15 min
Summary
Pega application stopped responding for 10-15 min and thread dump was generated.
Error Messages
Offending thread with thread stack below,
"a-thread-id" Id=242 in RUNNABLE (running in native)
BlockedCount : 43114, BlockedTime : -1, WaitedCount : 47897, WaitedTime : -1
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:272)
at sun.security.provider.NativePRNG$RandomIO.readFully(NativePRNG.java:202)
at sun.security.provider.NativePRNG$RandomIO.implGenerateSeed(NativePRNG.java:219)
- locked java.lang.Object@1cd65913
at sun.security.provider.NativePRNG$RandomIO.access$300(NativePRNG.java:125)
at sun.security.provider.NativePRNG.engineGenerateSeed(NativePRNG.java:119)
at java.security.SecureRandom.generateSeed(SecureRandom.java:517)
at com.pega.pegarules.exec.internal.util.PRRandom.reseedGenerator(PRRandom.java:101)
at com.pega.pegarules.exec.internal.util.PRRandom.checkToReseed(PRRandom.java:106)
at com.pega.pegarules.exec.internal.util.PRRandom.nextInt(PRRandom.java:89)
at com.pegarules.generated.activity.ra_action_retrievevolumemetrics_48ebd747d706912ee8a1358d0caa7251.step2_0_circum0_Embed_PegaCA_ServiceVolume(ra_action_retrievevolumemetrics_48ebd747d706912ee8a1358d0caa7251.java:266)
at com.pegarules.generated.activity.ra_action_retrievevolumemetrics_48ebd747d706912ee8a1358d0caa7251.perform(ra_action_retrievevolumemetrics_48ebd747d706912ee8a1358d0caa7251.java:112)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10450)
at com.pegarules.generated.activity.ra_action_getcontactcentervolume_41e3e84bca768cc9b56e5b90a4604382.step1_circum0(ra_action_getcontactcentervolume_41e3e84bca768cc9b56e5b90a4604382.java:205)
at com.pegarules.generated.activity.ra_action_getcontactcentervolume_41e3e84bca768cc9b56e5b90a4604382.perform(ra_action_getcontactcentervolume_41e3e84bca768cc9b56e5b90a4604382.java:69)
…………..
Steps to Reproduce
Unknown.
Root Cause
Possible defect with Oracle JDK running on Red Hat.
https://access.redhat.com/solutions/34626
Resolution
Per Red Hat, include additional JVM argument -Djava.security.egd=file:/dev/./urandom.
Published July 23, 2018 - 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.