Skip to content

Commit

Permalink
got el_ridiculoso-grande working: runs like 30 components simultaneou…
Browse files Browse the repository at this point in the history
…sly awww yeah *strut*
  • Loading branch information
Philip (flip) Kromer committed Dec 8, 2011
1 parent bfe425a commit 6f0cb25
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions templates/default/sv-cassandra-run.erb
Expand Up @@ -14,6 +14,7 @@ done
source ${CASSANDRA_HOME}/conf/cassandra-env.sh

JMX_PORT=<%= @cassandra[:jmx_dash_port] %>
JMX_ADDR=<%= ClusterChef::NodeUtils.public_ip_of(node) %>

# bump number of open files allowed way way up
ulimit -n 65535
Expand Down Expand Up @@ -53,8 +54,8 @@ exec chpst -u${CASSANDRA_USER} -e /etc/sv/cassandra/env -o 65535 \
-Xloggc:/var/log/cassandra/cassandra-gc-`date +%s`.log \
-verbose:gc \
<%- end %>
-Djava.rmi.server.hostname=<%= public_ip_of(node) %> \
-Dcom.sun.management.jmxremote.port=<%= @cassandra[:jmx_dash_port] %> \
-Djava.rmi.server.hostname=$JMX_ADDR \
-Dcom.sun.management.jmxremote.port=$JMX_PORT \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=false \
-Dcassandra-config=${CASSANDRA_CONF} \
Expand Down

0 comments on commit 6f0cb25

Please sign in to comment.