incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Montgomery <davidmontgom...@gmail.com>
Subject supervisord and cassandra
Date Thu, 13 Feb 2014 09:39:03 GMT
omg..wow...can cassandra run under supervisor?

this works from the command line as root
/var/apache-cassandra-<%=@version%>/bin/cassandra -f


this does not work.  why?

[program:cassandra]
command = /var/apache-cassandra-<%=@version%>/bin/cassandra -f
#environment=JVM_EXTRA_OPTS="-Dcom.sun.management.jmxremote.port=8199"
autostart=true
autorestart=true

stopsignal=KILL
stopasgroup = true
killasgroup = true

stdout_logfile=/tmp/cassandra.log
stdout_logfile_maxbytes=100MB
stdout_logfile_backups=10

stderr_logfile = /tmp/cassandra.err
stderr_logfile_maxbytes=10MB
stderr_logfile_backups=10

[group:cassandra_server]
programs=cassandra

cassandra: ERROR (abnormal termination)

/tmp/cassandra.err

Unrecognized VM option 'StringTableSize=1000003'
Could not create the Java virtual machine.
Unrecognized VM option 'StringTableSize=1000003'
Could not create the Java virtual machine.
Unrecognized VM option 'StringTableSize=1000003'
Could not create the Java virtual machine.
Unrecognized VM option 'StringTableSize=1000003'
Could not create the Java virtual machine.

java -version
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

Mime
View raw message