Hi ALL
I have installed Business Objects 3.0 Server on UNIX AIX5.3 platform.
Always that if refresh more webi documents then Tomcat is frozen off and is resolved with Tomcat reset only (with forced kill command).
I setting up the follows and the problem was not resolved:
How to increase Apache Tomcat server"s Java heap size on Red Hat Linux
Symptom
How do I increase Apache Tomcat server"s Java heap size on Red Hat Linux?
Cause
Heap memory is an internal memory pool used by different applications. By default, the minimum heap size is 128 megabytes (MB). The maximum value is 256 MB. In many situations inadequate heap size will cause Tomcat performance issues, especially when running BusinessObjects Enterprise XI Release 2 with a large number of concurrent users.
Resolution
To increase the heap size
1. Verify the physical memory by running the free -m command.
2. The amount of physical memory in the computer will determine how high the maximum heap size value can be set.
3. Stop Tomcat using the command ./tomcatshutdown.sh.
4. Backup the catalina.sh file using the command cp catalina.sh catalina_sh.orig.
5. Open the catalina.sh file using the command vi catalina.sh.
6. Search for the section identifying the Java environment variables using the command /Get standard.
A script similar to the following will appear:
# Get standard environment variables
PRGDIR=`dirname "$PRG"`
CATALINA_HOME=`cd "$PRGDIR/.." ; pwd`
if [ -r "$CATALINA_HOME"/bin/setenv.sh ]; then
. "$CATALINA_HOME"/bin/setenv.sh
fi
1. Scroll to the line just before the following comment lines.
# ----- Execute The Requested Command -----------------------------------------
echo "Using CATALINA_BASE: $CATALINA_BASE"
echo "Using CATALINA_HOME: $CATALINA_HOME"
echo "Using CATALINA_TMPDIR: $CATALINA_TMPDIR"
echo "Using JAVA_HOME: $JAVA_HOME"
1. Insert the following line right above the "Execute the Requested Command" line:
export JAVA_OPTS="-Xms256m -Xmx2048m"
The minimum heap size is set with the Xms flag. The maximum heap size is set with the Xmx flag. This line sets the minimum heap size to 256 MB and the maximum heap size to 2 gigabytes (2048 MB = 2 GB).
1. Start Tomcat with ./tomcatstartup.sh.
2. Run the command ps -ef | grep username | grep java (where the user name is the UNIX account used for installing Enterprise).
The ps command will reflect the changes to the heap size. It will look similar to the following:
xir2/bobje/jdk/bin/java -Xms256m -Xmx2048m
Does anyone know how to resolve this issue?
Regards,
Navahao
I have installed Business Objects 3.0 Server on UNIX AIX5.3 platform.
Always that if refresh more webi documents then Tomcat is frozen off and is resolved with Tomcat reset only (with forced kill command).
I setting up the follows and the problem was not resolved:
How to increase Apache Tomcat server"s Java heap size on Red Hat Linux
Symptom
How do I increase Apache Tomcat server"s Java heap size on Red Hat Linux?
Cause
Heap memory is an internal memory pool used by different applications. By default, the minimum heap size is 128 megabytes (MB). The maximum value is 256 MB. In many situations inadequate heap size will cause Tomcat performance issues, especially when running BusinessObjects Enterprise XI Release 2 with a large number of concurrent users.
Resolution
To increase the heap size
1. Verify the physical memory by running the free -m command.
2. The amount of physical memory in the computer will determine how high the maximum heap size value can be set.
3. Stop Tomcat using the command ./tomcatshutdown.sh.
4. Backup the catalina.sh file using the command cp catalina.sh catalina_sh.orig.
5. Open the catalina.sh file using the command vi catalina.sh.
6. Search for the section identifying the Java environment variables using the command /Get standard.
A script similar to the following will appear:
# Get standard environment variables
PRGDIR=`dirname "$PRG"`
CATALINA_HOME=`cd "$PRGDIR/.." ; pwd`
if [ -r "$CATALINA_HOME"/bin/setenv.sh ]; then
. "$CATALINA_HOME"/bin/setenv.sh
fi
1. Scroll to the line just before the following comment lines.
# ----- Execute The Requested Command -----------------------------------------
echo "Using CATALINA_BASE: $CATALINA_BASE"
echo "Using CATALINA_HOME: $CATALINA_HOME"
echo "Using CATALINA_TMPDIR: $CATALINA_TMPDIR"
echo "Using JAVA_HOME: $JAVA_HOME"
1. Insert the following line right above the "Execute the Requested Command" line:
export JAVA_OPTS="-Xms256m -Xmx2048m"
The minimum heap size is set with the Xms flag. The maximum heap size is set with the Xmx flag. This line sets the minimum heap size to 256 MB and the maximum heap size to 2 gigabytes (2048 MB = 2 GB).
1. Start Tomcat with ./tomcatstartup.sh.
2. Run the command ps -ef | grep username | grep java (where the user name is the UNIX account used for installing Enterprise).
The ps command will reflect the changes to the heap size. It will look similar to the following:
xir2/bobje/jdk/bin/java -Xms256m -Xmx2048m
Does anyone know how to resolve this issue?
Regards,
Navahao