Hi All,
I have a quick web server question. Here is some high level info OTM setup:
Oracle 10.2.0.3
Red Hat Enterprise Linux 4
OTM 5.5 CU4 RU2
Intel hardware
The Web Server is on it's own box(2-CPU Core 2 Duo, 9GB RAM).
We recently had a problem with Tomcat 5.5 that prevented users from logging in:
javax.naming.NamingException: Lookup error: java.lang.OutOfMemoryError: unable to create new native thread; nested exception is:
INFO | jvm 1 | 2008/06/23 20:57:49 | java.lang.OutOfMemoryError: unable to create new native thread [Root exception is java.lang.OutOfMemoryError: unable to create new native thread]
The JVM heap size was not configured in the tomcat startup script. We added the following to the tomcat.sh script and restarted the web server processes:
#setting JVM heap size
CATALINA_OPTS="-Xms16m -Xmx512m"; export CATALINA_OPTS
Does anyone here have advice on configuring the JVM heap size for the servlet engine?
Thanks,
Joe Patton
I have a quick web server question. Here is some high level info OTM setup:
Oracle 10.2.0.3
Red Hat Enterprise Linux 4
OTM 5.5 CU4 RU2
Intel hardware
The Web Server is on it's own box(2-CPU Core 2 Duo, 9GB RAM).
We recently had a problem with Tomcat 5.5 that prevented users from logging in:
javax.naming.NamingException: Lookup error: java.lang.OutOfMemoryError: unable to create new native thread; nested exception is:
INFO | jvm 1 | 2008/06/23 20:57:49 | java.lang.OutOfMemoryError: unable to create new native thread [Root exception is java.lang.OutOfMemoryError: unable to create new native thread]
The JVM heap size was not configured in the tomcat startup script. We added the following to the tomcat.sh script and restarted the web server processes:
#setting JVM heap size
CATALINA_OPTS="-Xms16m -Xmx512m"; export CATALINA_OPTS
Does anyone here have advice on configuring the JVM heap size for the servlet engine?
Thanks,
Joe Patton
Comment