WebCenter Portal Managed Server is Having Performance Issues and Crashing with "java.lang.OutOfMemoryError: GC overhead limit exceeded" Errors after Upgrading from 11.1.1.9 to 12c

(Doc ID 2323943.1)

Last updated on NOVEMBER 03, 2017

Applies to:

Oracle WebCenter Portal - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms


After upgrading from WebCenter Portal 11.1.1.9 to 12.2.1.2, the WebCenter Portal managed server is having performance issues and crashing with the following errors:


ERROR

<Jul 12, 2017, 9:40:49,952 PM EDT> <Error> <Kernel>
<BEA-000802> ExecuteRequest failed
java.lang.OutOfMemoryError: GC overhead limit exceeded.
java.lang.OutOfMemoryError: GC overhead limit exceeded
>
<Jul 12, 2017, 9:40:49,956 PM EDT> <Warning> <Log Management> <BEA-170011> <The LogBroadcaster on this server failed to broadcast log messages to the Administration Server. The Administration Server may not be running. Message broadcasts to the Administration Server will be disabled.>
<Jul 12, 2017, 9:40:49,952 PM EDT> <Error> <Kernel> <BEA-000802> <ExecuteRequest failed
java.lang.OutOfMemoryError: GC overhead limit exceeded.
java.lang.OutOfMemoryError: GC overhead limit exceeded
>

 

Getting a heap dump shows a large number of com.sun.jndi.ldap.Connection instances (in this case 10562) and each LDAP connection is created from a new daemon worker thread:

"Thread-13720" #14035 daemon prio=5 os_prio=0 tid=0x00007f70164d8000 nid=0x3256 runnable [0x00007f6cba5e6000]
    java.lang.Thread.State: RUNNABLE
     at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
     at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
     at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
     at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
     - locked <0x000000079d5671e8> (a sun.nio.ch.Util$3)
     - locked <0x000000079d5671d8> (a java.util.Collections$UnmodifiableSet)
     - locked <0x000000079d566d58> (a sun.nio.ch.EPollSelectorImpl)
     at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
     at weblogic.socket.NIOInputStream.readInternal(NIOInputStream.java:146)
     at weblogic.socket.NIOInputStream.read(NIOInputStream.java:90)
     at weblogic.socket.NIOInputStream.read(NIOInputStream.java:73)
     at weblogic.socket.JSSEFilterImpl.readFromNetwork(JSSEFilterImpl.java:496)
     at weblogic.socket.JSSEFilterImpl.read(JSSEFilterImpl.java:458)
     at weblogic.socket.JSSESocket$JSSEInputStream.read(JSSESocket.java:119)
     at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
     at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
     at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
     - locked <0x000000079f004c50> (a java.io.BufferedInputStream)
     at com.sun.jndi.ldap.Connection.run(Connection.java:860)
     at java.lang.Thread.run(Thread.java:748)
...

 


STEPS

The issue can be reproduced at will with the following steps:

  1. Start the Portal managed server.
  2. After short time the portal managed server will start having the error.

 

Changes

Upgraded from 11.1.1.9 to 12.2.1.2.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms