My Oracle Support Banner

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

Last updated on JANUARY 03, 2022

Applies to:

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


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:



To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.