Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (46 sloc) 1.45 KB
chdir: {{ .DataDir }}
stdin: /dev/null
stdout: /data/log/console.log
stderr: /data/log/console.log
uid: 1337
gid: 1337
argv:
- /usr/bin/java
- -ea
- -javaagent:{{ glob "" "/opt/cassandra/lib/jamm-*.jar" }}
- -XX:+CMSClassUnloadingEnabled
- -XX:+UseThreadPriorities
- -XX:ThreadPriorityPolicy=42
- -Xmx{{ .HeapMB }}M
- -Xms{{ .HeapMB }}M
- -Xmn{{ .NewMB }}M
- -XX:+HeapDumpOnOutOfMemoryError
- -Xss256k
- -XX:StringTableSize=1000003
- -XX:+UseParNewGC
- -XX:+UseConcMarkSweepGC
- -XX:+CMSParallelRemarkEnabled
- -XX:SurvivorRatio=8
- -XX:MaxTenuringThreshold=1
- -XX:CMSInitiatingOccupancyFraction=75
- -XX:+UseCMSInitiatingOccupancyOnly
- -XX:+UseTLAB
- -XX:+ResizeTLAB
- -XX:+AlwaysPreTouch # zero memory to avoid page fault delay in absence of memlock
- -XX:-UseBiasedLocking # biased locking does not benefit Cassandra
- -XX:CompileCommandFile={{ .ConfDir }}/hotspot_compiler
- -XX:CMSWaitDuration=10000
- -XX:+UseCondCardMark
- -Djava.net.preferIPv4Stack=true
- -Dcom.sun.management.jmxremote.port=7199
- -Dcom.sun.management.jmxremote.rmi.port=7199
- -Dcom.sun.management.jmxremote.ssl=false
- -Dcom.sun.management.jmxremote.authenticate=false
- -Dlogback.configurationFile=logback.xml
- -Dcassandra.logdir={{ .LogDir }}
- -Dcassandra-foreground=yes
- -cp
- {{ glob ":" .ConfDir .LibDir "/opt/cassandra/lib/*.jar" }}
- org.apache.cassandra.service.CassandraDaemon
{{ range .ExtraArgs }} - {{ . }}
{{ end }}