My Oracle Support Banner

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 APRIL 06, 2023

Applies to:

Oracle WebCenter Portal - Version 12.2.1.0.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

<TIMESTAMP> <Error> <Kernel>
<BEA-000802> ExecuteRequest failed
java.lang.OutOfMemoryError: GC overhead limit exceeded.
java.lang.OutOfMemoryError: GC overhead limit exceeded
>
<TIMESTAMP> <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.>
<TIMESTAMP> <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=<TID> nid=<NID> 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

To view full details, 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 a vibrant support community of peers and Oracle experts.