Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 190
  • Last Modified:

Apache tomcat railo properties settings

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
Bang-O-Matic
Asked:
Bang-O-Matic
  • 4
  • 3
1 Solution
 
gheistCommented:
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
 
Bang-O-MaticAuthor Commented:
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
 
gheistCommented:
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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
Bang-O-MaticAuthor Commented:
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
 
gheistCommented:
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
 
Bang-O-MaticAuthor Commented:
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
 
gheistCommented:
Do not waste memory. First you need to get out of memory exception, then double.
0

Featured Post

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!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now