It's all about the answers!

Ask a question

Why does the Insight report server switch to standby mode after some time?

Francesco Chiossi (5.7k1719) | asked Feb 11 '14, 8:19 a.m.
edited Feb 11 '14, 8:21 a.m.
My Insight 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: Exception in opening zip file: /opt/IBM/WebSphere/AppServer/plugins/
    at org.eclipse.osgi.framework.util.SecureAction.getZipFile(
    at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.basicOpen(
    at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getZipFile(
    at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.checkedOpen(
    at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getEntry(

How do I fix it?

One answer

permanent link
Francesco Chiossi (5.7k1719) | answered Feb 11 '14, 8:19 a.m.
edited Feb 11 '14, 8:19 a.m.
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

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.

Your answer

Register or to post your answer.