JRockit and WLS Throws a "too many open files" Exception with the jrcmd Command

(Doc ID 1929719.1)

Last updated on JULY 07, 2017

Applies to:

Oracle JRockit - Version R27.5 to R27.6 [Release JRockit]
Information in this document applies to any platform.


When running WebLogic Server (WLS) versions 9.2.3~9.2.4 on JRockit (R27 series), if the "jrcmd" command of JRockit (any series) is used on the WLS process with the "displayMap=true" option, "jrcmd" opens the /proc/(PID of WLS)/maps file and gets the information from the memory-map.  After this sequence, /proc/(PID of WLS)/maps files will not be closed and the file descriptor remains.  If "jrcmd" is used often, it can cause a "too many open files" exception.

This flow is the example of how to reproduce the bug.  The Author used Oracle Linux 5u5 as the OS.

1. Open first terminal. With JRockit, activate WLS 9.2.4 with startWeblogic.sh. When author reproduces this bug, WLS 9.2.4 and JRockit R27 were used.
The detailed version is below. 




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