Weblogic 12c - How to Fix High CPU caused by LDAP
We have been working to update our Weblogic Server 11g (10.3.5) environments to Weblogic 12c (12.1.3). Soon after creating our first 12.1.3 domain, we began seeing our domains AdminServer consuming over 90% of the servers available CPU. After analyzing thread dumps from the AdminServer, we discovered that the threads that were consuming all of the CPU were related to LDAP and our LDAP Provider.
After engaging Oracle Support, a solution was found which has eliminated the High CPU condition. This post just lists the solution that fixed our issue, a future post will outline how we identified the issue was related to LDAP using thread dumps.
The issue relates to the SocketTimeout value being used by Weblogic 12c with respect to LDAP connections. To get around this issue, add the following JVM Parameters to your AdminServer and all Managed Servers which make use of an LDAP Provider:
-Dweblogic.MuxerClass=weblogic.socket.PosixSocketMuxer
More information on this setting can be found here:
http://docs.oracle.com/middleware/1213/wls/PERFM/wls_tuning.htm#BABEBBAH
Also, I should note we encountered this issue when using the Generic Installation of Weblogic 12.1.3 running on Red Hat Enterprise Linux 6.5 with Oracle JDK 1.7.0_55.











