Edge encryption proxy goes to 95-100% CPU and fails with Java exceptionDescriptionEdge Encryption proxy goes to 95-100% CPU and fails with Java exception Problem Edge goes to 95-100% CPU and it fails with Java exception. (For example, Java exception happened outside interpreter, nmethods and vtable stubs at pc 0x0000000001194a10). Symptoms Proxy becomes busy and CPU gets between 95-100% used by JavaUsers are not able to use the proxy until the proxy is restartedIt happens intermittentlyThe Java could have crashed with a core dump. Here is an example of a core dump:# Internal Error (sharedRuntime.cpp:834), pid=1988, tid=308# fatal error: exception happened outside interpreter, nmethods and vtable stubs at pc 0x0000000001194a10## JRE version: Java(TM) SE Runtime Environment (8.0_40-b26) (build 1.8.0_40-b26)# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.40-b25 mixed mode windows-amd64 compressed oops)# Core dump written. Default location: C:\xxxxx\yyyyyy\bin\hs_err_pid1988.mdmp## If you would like to submit a bug report, please visit:# http://bugreport.java.com/bugreport/crash.jsp Here is an example of the CPU usage when the problem happens: Cause Based on the information provided, Java hardware intrinsics were added to use Advanced Encryption Standard (AES). However, the hardware must support it. If the hardware does not support it, it causes Java to increase the use of resources. Resolution The solution is to align the proxy with the hardware support for AES. If it is failing, then you need to disable AES on the Java used by the proxy.To disable hardware AES, use the following flags:-XX:-UseAES -XX:-UseAESIntrinsicsTo disable it on the proxy: Add to conf/wrapper.conf:----wrapper.conf-------wrapper.java.additional.4=-XX:-UseAESIntrinsics----wrapper.conf-------Restart proxy If you upgrade your Java to version 121+ (or older), it is not needed anymore. Please comment this out. Having this option, It could create side effects on the memory used. <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internalTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:0; } .sp td{ border-bottom: 1px solid; border-right: 1px solid; border-color:#E0E0E0; background-color: #ffffff; height: 20px; padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; } .sphr td{ border-right: 1px solid; border-bottom: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; height: 20px; } .title { color: #D1232B; font-weight:; font-size:25px; } .hd1{ color: #D1232B; font-weight:; font-size:18px; } .hd2{ color: #646464; font-weight:bold; font-size:16px; } .hd3{ color: #7a7a7a; font-weight:; font-size:16 px; text-decoration:; } .hd4{ color: #000000; font-weight:bold; font-size:14 px; text-decoration:; } -->