Cisco Systems MDS 9000 Video Gaming Accessories User Manual


 
Send documentation comments to mdsfeedback-doc@cisco.com.
36-13
Cisco MDS 9000 Family Fabric Manager Configuration Guide
OL-6965-03, Cisco MDS SAN-OS Release 2.x
Chapter 36 Management Software Troubleshooting
UNIX Issues
UNIX Issues
Why do the parent menus disappear?
Displaying a submenu may occasionally cause the parent menu to disappear. For more details on this
bug, refer to: http://developer.java.sun.com/developer/bugParade/bugs/4470374.html.
Why do I keep getting a "too many open files" error?
If you are running the JVM (Java Virtual Machine) on Linux and the drive where Java is installed or your
home directory is NFS mounted, there is an open bug against the Sun JDK about errors acquiring file
locks. The symptoms for the Fabric Manager are that launching a Device Manager or saving/opening
files will fail, giving a "too many open files" I/O or socket exception. The JVM keeps trying to open a
file on the NFS mounted drives, fails, and keeps trying to do it until it hits the 1024 file descriptors limit.
Workarounds (assuming /tmp is a local disk - replace it with your tmp area):
System Preferences
Make sure the system level preferences are stored on a local disk. The system preferences are stored
in $JAVA_HOME/.systemPrefs where JAVA_HOME is where you have installed the JDK. If this
directory is NFS mounted, then just do the following:
$ rm -rf $JAVA_HOME/.systemPrefs<
$ mkdir /tmp/.systemPrefs
$ ln -s /tmp/.systemPrefs $JAVA_HOME/.systemPrefs
The problem with this workaround is that you have to make sure /tmp/.systemPrefs exists on every
box where you are using $JAVA_HOME. We recommend installing the JVM as root and on a local
disk.
User Preferences
If your home directory is NFS mounted and you are getting this problem. Do the following:
$ rm -rf $HOME/.java
$ mkdir /tmp/.java.$USER
$ ln -s /tmp/.java.$USER $HOME/.java
For further details, see the following URLs:
http://developer.java.sun.com/developer/bugParade/bugs/4673298.html
http://developer.java.sun.com/developer/bugParade/bugs/4635353.html