Kill -9 (SIGKILL) is the worst signal to use. It has the advantage to
kill quickly the process, but no shutdown hook are called. You should
better kill -15 (SIGTERM, which is the default).



2011/7/26 mcasandra <mohitanch...@gmail.com>:
> I need to write cassandra start/stop script. Currently I run "cassandra" to
> start and kill -9 to stop.
>
> Is this the best way? kill -9 doesn't sound right :) Wondering how others do
> it.
>
> --
> View this message in context: 
> http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Cassandra-start-stop-scripts-tp6622977p6622977.html
> Sent from the cassandra-u...@incubator.apache.org mailing list archive at 
> Nabble.com.
>

Reply via email to