Java SocketInputStream.socketRead0 of RMI Threads Intermittently Hang During Load (Doc ID 2285034.1)

Last updated on JULY 23, 2017

Applies to:

Java SE JDK and JRE - Version 8 and later
Information in this document applies to any platform.

Symptoms

Intermittently, during high load, RMI connection threads take a long time to die.  This appears as a connection hang, as thread dumps taken 30 minutes apart show some of the same threads in both dumps.  This intermittently causes the thread count to increase such that the system network handles are maxed out.  The timeout property sun.rmi.transport.tcp.responseTimeout=60s does not work.

RMI thread stack example:

 

Changes

 

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