Solved

Apache tomcat railo properties settings

Posted on 2014-11-24
7
183 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 40468755
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
ID: 40473629
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 62

Accepted Solution

by:
gheist earned 500 total points
ID: 40473787
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Bang-O-Matic
ID: 40474704
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 62

Expert Comment

by:gheist
ID: 40474763
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
ID: 40474831
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 62

Expert Comment

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

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 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