Why does the Insight report server switch to standby mode after some time?
My Insight 1.1.1.3 report server, installed on Linux RHEL 5, works fine after being started; but after some time the content manager switches to standby mode and the report server stops working.
The Websphere logs for the Insight profile show the following exception:
java.util.zip.ZipException: Exception in opening zip file: /opt/IBM/WebSphere/AppServer/plugins/com.ibm.ffdc.jar
at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:264)
at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.basicOpen(ZipBundleFile.java:88)
at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getZipFile(ZipBundleFile.java:101)
at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.checkedOpen(ZipBundleFile.java:74)
at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getEntry(ZipBundleFile.java:246)
at com.ibm.cds.CDSBundleFile.getEntry(CDSBundleFile.java:92)
...
How do I fix it?
The Websphere logs for the Insight profile show the following exception:
java.util.zip.ZipException: Exception in opening zip file: /opt/IBM/WebSphere/AppServer/plugins/com.ibm.ffdc.jar
at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:264)
at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.basicOpen(ZipBundleFile.java:88)
at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getZipFile(ZipBundleFile.java:101)
at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.checkedOpen(ZipBundleFile.java:74)
at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getEntry(ZipBundleFile.java:246)
at com.ibm.cds.CDSBundleFile.getEntry(CDSBundleFile.java:92)
...
How do I fix it?
One answer
The limit of open files is set too low.
According to the requirements it must be 65536. See:
Additional configuration requirements for Linux and AIX operating systems
http://pic.dhe.ibm.com/infocenter/rentrpt/v1r1m1/topic/com.ibm.rational.raer.install.doc/topics/c_install_req_linux.html
To see the current limit you can use
[root@report ~]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 40960
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 40960
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
To change it add the following lines in /etc/security/limits.conf :
* hard nofile 65536
* soft nofile 65536
and restart the linux server.
According to the requirements it must be 65536. See:
Additional configuration requirements for Linux and AIX operating systems
http://pic.dhe.ibm.com/infocenter/rentrpt/v1r1m1/topic/com.ibm.rational.raer.install.doc/topics/c_install_req_linux.html
To see the current limit you can use
[root@report ~]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 40960
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 40960
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
To change it add the following lines in /etc/security/limits.conf :
* hard nofile 65536
* soft nofile 65536
and restart the linux server.