otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Performance, Scalability and HA Optimizing the performance of OTM / G-Log, configuring Scalability (SCA) and maintaining High Availability.

Tags: , ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old June 24th, 2008, 19:58
Junior Member
 
Join Date: Jun 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old June 25th, 2008, 04:16
Senior Member and Blogger
 
Join Date: Nov 2007
Location: Drexel Hill, PA
Posts: 240
Thanks: 0
Thanked 35 Times in 35 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
nick.polites is on a distinguished road
Re: OTM 5.5 Red Hat Enterprise 4 Tomcat 5.5

Joe,

You shouldn't be modifying anything but the tomcat.conf file. There are two lines in there:

wrapper.java.additional.2=-Xms1025m
wrapper.java.additional.3=-Xmx1025m

which should be modified and both set to the same amount allocated. I have been able to bump up the JVM heap to 2400 and have it run stable at that setting. Your testing may vary on this but the bare mininum it needs to be set at is 1024, 1536 is really recommended but since you have 9 GB I would bump it to 2400 and drop it down if you have any problems.

Nick
__________________
MavenWire Hosting Admin
Over 7 years of OTM experience
The Oracle OTM / G-Log GC3 Experts
Offering Incubator and Production OTM instances
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Modified XSL Without Restarting Tomcat raghulakshman Branding, Screen Sets, XSL/CSS and Translations 3 February 22nd, 2008 08:32
webblogic and TomCat not starting after installation Olumide Installation and Upgrades 1 August 30th, 2007 19:43
[NEWS] RHEL 5.0 Released! (Red Hat Enterprise Linux) chrisplough Hardware and Platforms 1 April 13th, 2007 17:16
[SOLVED] Re: Tomcat Not Starting on OTM v5.5 Alan Cuartero Email List Archive 0 December 16th, 2006 20:12
[SOLVED] Tomcat Not Starting on OTM v5.5 Norman Fontes Email List Archive 0 December 15th, 2006 19:13



All times are GMT. The time now is 03:58.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37