High CPU Usage On oracle.jdbc.driver.NTFConnection (Doc ID 2198999.1)

Last updated on NOVEMBER 03, 2016

Applies to:

JDBC - Version 11.1.0.7 to 11.2.0.3.0 [Release 11.1 to 11.2]
Information in this document applies to any platform.

Symptoms


High CPU usage on application using JDBC 11.2.0.3 (in this case OAM 11.1.2.3 BP4).
The CPU load of the OAM managed server increases over time.

Top used threads show a common stack:

"Thread-47" prio=10 tid=0x00000000459fa000 nid=0x66b3 waiting on condition
[0x00000000436e7000]
java.lang.Thread.State: RUNNABLE
at java.nio.HeapByteBuffer.slice(HeapByteBuffer.java:80)
at oracle.jdbc.driver.NTFConnection.getNextNSPacket(NTFConnection.java:308)
at
oracle.jdbc.driver.NTFConnection.unmarshalOneNSPacket(NTFConnection.java:330)
at oracle.jdbc.driver.NTFConnection.run(NTFConnection.java:185)
---


This method is related with the Oracle JDBC Driver at class "oracle.jdbc.driver.NTFConnection.readFromNetwork".

The result is a gradual increase in CPU consumption from 4 - 80%, in a two week period. After a restart, the cpu load is normal again; then it rises again in a two week period.



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