Skip to content

Commit 5b94646

Browse files
author
Marcus Sorensen
committed
Summary: Increase tomcat servers memory size per dev list discussion
Detail: Per Kelven Yang when Javelin was merged into master/4.1, the memory settings for management server should be a heap of 2g and a max perm size of 512m, due to increased footprint introduced by spring framework/Javelin. Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1361311099 -0700
1 parent 05069bb commit 5b94646

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎client/tomcatconf/tomcat6-nonssl.conf.in‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ CATALINA_TMPDIR="@MSENVIRON@/temp"
4141

4242
# Use JAVA_OPTS to set java.library.path for libtcnative.so
4343
#JAVA_OPTS="-Djava.library.path=/usr/lib64"
44-
JAVA_OPTS="-Djava.awt.headless=true -Dcom.sun.management.jmxremote.port=45219 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=@MSLOGDIR@ -XX:PermSize=256M"
44+
JAVA_OPTS="-Djava.awt.headless=true -Dcom.sun.management.jmxremote.port=45219 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=@MSLOGDIR@ -XX:PermSize=256M -XX:MaxPermSize=512m"
4545

4646
# What user should run tomcat
4747
TOMCAT_USER="@MSUSER@"

‎client/tomcatconf/tomcat6-ssl.conf.in‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ CATALINA_TMPDIR="@MSENVIRON@/temp"
4040

4141
# Use JAVA_OPTS to set java.library.path for libtcnative.so
4242
#JAVA_OPTS="-Djava.library.path=/usr/lib64"
43-
JAVA_OPTS="-Djava.awt.headless=true -Djavax.net.ssl.trustStore=/etc/cloud/management/cloudmanagementserver.keystore -Djavax.net.ssl.trustStorePassword=vmops.com -Dcom.sun.management.jmxremote.port=45219 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=@MSLOGDIR@ -XX:PermSize=256M"
43+
JAVA_OPTS="-Djava.awt.headless=true -Djavax.net.ssl.trustStore=/etc/cloud/management/cloudmanagementserver.keystore -Djavax.net.ssl.trustStorePassword=vmops.com -Dcom.sun.management.jmxremote.port=45219 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=@MSLOGDIR@ -XX:MaxPermSize=512m -XX:PermSize=256M"
4444

4545
# What user should run tomcat
4646
TOMCAT_USER="@MSUSER@"

0 commit comments

Comments
 (0)