Solved

Apache tomcat railo properties settings

Posted on 2014-11-24
7
176 Views
Last Modified: 2014-12-01
I have a Windows 2008 r2 64bit, IIS7, VPS server running Railo 4. Specs= 4 cores opteron 6136, 16 Gb RAM.


Looking at the Apache Tomcat Railo Properties, "Java" tab, my question is what are the optimal settings for:
1. Initial Memory Pool
2. Max Memory Pool
3. Thread stack Size

Thanks!
0
Comment
Question by:Bang-O-Matic
  • 4
  • 3
7 Comments
 
LVL 61

Expert Comment

by:gheist
Comment Utility
Anything broken with default settings?
To fill 16GB RAM you need about same size of CFMs loaded, otherwise use rest as ramdisk or whatever.
setenv.sh in integrated installer has this (apparently tailored for Sun or openjdk):
-Xms512m -Xmx1g -XX:MaxPermSize=128m
0
 

Author Comment

by:Bang-O-Matic
Comment Utility
screenshot
Here is a screenshot of my settings now. I was just wondering if I increased Initial Memory Pool and Maximum Memory Pool,  and added a Thread stack size, it would give me better performance?
0
 
LVL 61

Accepted Solution

by:
gheist earned 500 total points
Comment Utility
No, unless you are running out of memory you shoyld not change anything. Your Tomcat settings are pretty close match to what RAIL0 expects.
Especially dont mess with per-thread stack, as its default  varies from platform to platform between 4K and 40M
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:Bang-O-Matic
Comment Utility
How can I tell if I'm running out of RAM?

I did some webserver load testing and found that my page load time increased substantially after about 60 concurrent users.
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
If Tomcat is running out of memory you get java.lang.OutOfMemoryException logged in catalina.out file

It could be as well that your test tool running on windows was maxed out? Does it show more for IIS or apache?
0
 

Author Comment

by:Bang-O-Matic
Comment Utility
The test tool I was using was web based  - loadimpact.com (free version)

I'm gonna double the  memory pool to 2048 and see if it has any benefit.
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
Do not waste memory. First you need to get out of memory exception, then double.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now