You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ma...@apache.org on 2016/01/14 09:24:38 UTC
kylin git commit: KYLIN-1318 enable gc log for kylin server instance
Repository: kylin
Updated Branches:
refs/heads/2.0-rc ba681c1d4 -> db2cd211e
KYLIN-1318 enable gc log for kylin server instance
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/db2cd211
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/db2cd211
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/db2cd211
Branch: refs/heads/2.0-rc
Commit: db2cd211ed94ff0b425f70f3cb8a33863854ac76
Parents: ba681c1
Author: honma <ho...@ebay.com>
Authored: Thu Jan 14 16:24:20 2016 +0800
Committer: honma <ho...@ebay.com>
Committed: Thu Jan 14 16:24:20 2016 +0800
----------------------------------------------------------------------
build/bin/setenv.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kylin/blob/db2cd211/build/bin/setenv.sh
----------------------------------------------------------------------
diff --git a/build/bin/setenv.sh b/build/bin/setenv.sh
index aeb3fd6..80a2d3e 100755
--- a/build/bin/setenv.sh
+++ b/build/bin/setenv.sh
@@ -19,7 +19,7 @@
# (if your're deploying KYLIN on a powerful server and want to replace the default conservative settings)
# uncomment following to for it to take effect
-export KYLIN_JVM_SETTINGS="-Xms1024M -Xmx4096M -XX:MaxPermSize=128M"
+export KYLIN_JVM_SETTINGS="-Xms1024M -Xmx4096M -XX:MaxPermSize=128M -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:$KYLIN_HOME/logs/kylin.gc -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=64M"
# export KYLIN_JVM_SETTINGS="-Xms16g -Xmx16g -XX:MaxPermSize=512m -XX:NewSize=3g -XX:MaxNewSize=3g -XX:SurvivorRatio=4 -XX:+CMSClassUnloadingEnabled -XX:+CMSParallelRemarkEnabled -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:CMSInitiatingOccupancyFraction=70 -XX:+DisableExplicitGC"
# uncomment following to for it to take effect(the values need adjusting to fit your env)