View Single Post
  #1 (permalink)  
Old June 24th, 2008, 19:58
Joe Patton Joe Patton is offline
Junior Member
 
Join Date: Jun 2008
Posts: 7
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 1
Thanked 1 Time in 1 Post
Rep Power: 0
Joe Patton is on a distinguished road
OTM 5.5 Red Hat Enterprise 4 Tomcat 5.5

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
Reply With Quote