You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ee...@apache.org on 2010/06/21 16:43:56 UTC
svn commit: r956608 - in /cassandra/branches/cassandra-0.6/debian:
cassandra.default init
Author: eevans
Date: Mon Jun 21 14:43:56 2010
New Revision: 956608
URL: http://svn.apache.org/viewvc?rev=956608&view=rev
Log:
update gc options for debian package
Patch by eevans; reviewed by jbellis for CASSANDRA-1172
Modified:
cassandra/branches/cassandra-0.6/debian/cassandra.default
cassandra/branches/cassandra-0.6/debian/init
Modified: cassandra/branches/cassandra-0.6/debian/cassandra.default
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/debian/cassandra.default?rev=956608&r1=956607&r2=956608&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/debian/cassandra.default (original)
+++ cassandra/branches/cassandra-0.6/debian/cassandra.default Mon Jun 21 14:43:56 2010
@@ -10,7 +10,7 @@ JVM_MAX_MEM="1G"
# Specifies the initial size (in bytes) of memory allocation. Must be
# a multiple of 1024 greater than 1MB. You can append the letters K or
# M to indicate kilobytes or megabytes respectively.
-JVM_START_MEM="128M"
+JVM_START_MEM="256"
# Specifies any additional arguments to the JVM.
-JVM_EXTRA_OPTS="-XX:SurvivorRatio=128 -XX:TargetSurvivorRatio=90 -XX:+AggressiveOpts -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+HeapDumpOnOutOfMemoryError -XX:MaxTenuringThreshold=0"
+JVM_EXTRA_OPTS="-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=1 -XX:+HeapDumpOnOutOfMemoryError"
Modified: cassandra/branches/cassandra-0.6/debian/init
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/debian/init?rev=956608&r1=956607&r2=956608&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/debian/init (original)
+++ cassandra/branches/cassandra-0.6/debian/init Mon Jun 21 14:43:56 2010
@@ -92,7 +92,6 @@ do_start()
-cp `classpath` \
-Xmx$JVM_MAX_MEM \
-Xms$JVM_START_MEM \
- -Dcassandra \
-Dstorage-config=$CONFDIR \
-Dcom.sun.management.jmxremote.port=8080 \
-Dcom.sun.management.jmxremote.ssl=false \