Thanks,

do you have a sample of the defaults?  I just dont understand why from the
command line it works but not from supervisor

thanks



[include]
files = *.supervisor

[supervisord]
pidfile = /var/run/supervisord.pid
nodaemon=false

[supervisorctl]
serverurl=unix:///var/run/supervisord.sock ; use a unix:// URL for a unix
socket

[unix_http_server]
file = /var/run/supervisord.sock

[rpcinterface:supervisor]
supervisor.rpcinterface_factory =
supervisor.rpcinterface:make_main_rpcinterface


[include]
files = /etc/supervisor/conf.d/*.conf



On Thu, Feb 13, 2014 at 6:19 PM, Robert S <robert.stapenhu...@secondsync.com
> wrote:

> Hi David,
>
> We've had no problems running C* with supervisor, and your conf.d file is
> broadly similar to ours. I don't think those errors are anything to do with
> supervisor.
>
> We did however have issues starting C* with the recommended resource
> limits<http://www.datastax.com/documentation/cassandra/2.0/webhelp/index.html#cassandra/install/installRecommendSettings.html>;
> if I remember correctly, the solution was to set supervisor's own defaults
> appropriately (/etc/defaults/supervisor). Also watch out for
> autostart/autorestart - if a node has been down for more than
> max_hint_window_ms<http://www.datastax.com/documentation/cassandra/2.0/webhelp/index.html#cassandra/dml/../configuration/configCassandra_yaml_r.html%23reference_ds_qfg_n1r_1k__max_hint_window_in_ms>you
>  may not want supervisor to automatically restart the daemon.
>
> Good luck,
>
> Robert
>
>
> On 13 February 2014 09:39, David Montgomery <davidmontgom...@gmail.com>wrote:
>
>> 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)
>>
>>
>>
>>
>>
>>
>

Reply via email to