performance / tuning tips. to the point.
|
Performance Related Java Error Codes and Resolutions
java.io.IOException: Too many open files
FPUtility.execute: Exception encountered while executing
[cp -fp "/usr/lpp/search/fixpack/8.2.0.700/backup/bin/bldlevel.txt" "/usr/lpp/search/
bin"]
java.io.IOException: Too many open files
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java(Compiled Code))
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java(Compiled Code))
at java.lang.Runtime.exec(Runtime.java(Inlined Compiled Code))
at java.lang.Runtime.exec(Runtime.java(Inlined Compiled Code))
at FPUtility.execute(FPUtility.java(Compiled Code))
at FPUtility.execute(FPUtility.java(Inlined Compiled Code))
at FPInstaller.uninstall(FPInstaller.java(Compiled Code))
at FPInstaller.rollback(FPInstaller.java(Inlined Compiled Code))
at FPInstaller.install(FPInstaller.java(Compiled Code))
at FPInstall.main(FPInstall.java:132)
FPUtility.execute: Exception encountered while executing [rm -fr "/usr/lpp/search/fixpack/8.2.0.700"]
java.io.IOException: Too many open files
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java(Compiled Code))
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java(Compiled Code))
at java.lang.Runtime.exec(Runtime.java(Inlined Compiled Code))
at java.lang.Runtime.exec(Runtime.java(Inlined Compiled Code))
at FPUtility.execute(FPUtility.java(Compiled Code))
at FPUtility.execute(FPUtility.java(Inlined Compiled Code))
at FPInstaller.uninstall(FPInstaller.java(Compiled Code))
at FPInstaller.rollback(FPInstaller.java(Inlined Compiled Code))
at FPInstaller.install(FPInstaller.java(Compiled Code))
at FPInstall.main(FPInstall.java:132)
Resolution: increase open file limit. For example, on AIX -
The file descriptors limit is set in the /etc/security/limits file and its
default value is 2000. This limit can be changed by the ulimit command or
the setrlimit subroutine. The maximum size is defined by the constant OPEN_MAX.
|
|
|
|