You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Marcelo Elias Del Valle <mv...@gmail.com> on 2012/11/07 20:46:16 UTC

Service killed by signal 9

I just installed cassandra (actually, data stax community) in a ubuntu
server 12 64 bits machine at Amazon.

I don't know why, but the service do not start and all I get is the message
bellow from the log.

I tried to execute "cassandra -f" follow the scripts to find the error, but
I saw it is happening after the java process was executed in the cassandra
script:

exec $NUMACTL "$JAVA" $JVM_OPTS $cassandra_parms -cp "$CLASSPATH" $props
"$class"

Besides that, there is no data dir created:
$ls /var/lib/cassandra/
total 0
$

Any hint of what I might be doing wrong?

 INFO 19:42:51,541 JVM vendor/version: OpenJDK 64-Bit Server VM/1.6.0_24
 INFO 19:42:51,547 Heap size: 301727744/302776320
 INFO 19:42:51,547 Classpath:
/usr/share/cassandra/lib/antlr-3.2.jar:/usr/share/cassandra/lib/avro-1.4.0-fixes.jar:/usr/share/cassandra/lib/avro-1.4.0-sources-fixes.jar:/usr/share/cassandra/lib/commons-cli-1.1.jar:/usr/share/cassandra/lib/commons-codec-1.2.jar:/usr/share/cassandra/lib/commons-lang-2.4.jar:/usr/share/cassandra/lib/compress-lzf-0.8.4.jar:/usr/share/cassandra/lib/concurrentlinkedhashmap-lru-1.3.jar:/usr/share/cassandra/lib/guava-r08.jar:/usr/share/cassandra/lib/high-scale-lib-1.1.2.jar:/usr/share/cassandra/lib/jackson-core-asl-1.9.2.jar:/usr/share/cassandra/lib/jackson-mapper-asl-1.9.2.jar:/usr/share/cassandra/lib/jamm-0.2.5.jar:/usr/share/cassandra/lib/jline-0.9.94.jar:/usr/share/cassandra/lib/json-simple-1.1.jar:/usr/share/cassandra/lib/libthrift-0.7.0.jar:/usr/share/cassandra/lib/log4j-1.2.16.jar:/usr/share/cassandra/lib/metrics-core-2.0.3.jar:/usr/share/cassandra/lib/servlet-api-2.5-20081211.jar:/usr/share/cassandra/lib/slf4j-api-1.6.1.jar:/usr/share/cassandra/lib/slf4j-log4j12-1.6.1.jar:/usr/share/cassandra/lib/snakeyaml-1.6.jar:/usr/share/cassandra/lib/snappy-java-1.0.4.1.jar:/usr/share/cassandra/lib/snaptree-0.1.jar:/usr/share/cassandra/apache-cassandra-1.1.6.jar:/usr/share/cassandra/apache-cassandra-thrift-1.1.6.jar:/usr/share/cassandra/apache-cassandra.jar:/usr/share/cassandra/stress.jar:/usr/share/java/jna.jar:/etc/cassandra:/usr/share/java/commons-daemon.jar:/usr/share/cassandra/lib/jamm-0.2.5.jar
Service killed by signal 9


-- 
Marcelo Elias Del Valle
http://mvalle.com - @mvallebr

Re: Service killed by signal 9

Posted by Marcelo Elias Del Valle <mv...@gmail.com>.
Yes, indeed:
Nov  7 20:02:44 ip-10-243-15-139 kernel: [ 4992.839419] Out of memory: Kill
process 14183 (jsvc) score 914 or sacrifice child
Nov  7 20:02:44 ip-10-243-15-139 kernel: [ 4992.839439] Killed process
14183 (jsvc) total-vm:1181220kB, anon-rss:539164kB, file-rss:12180kB

Thanks a lot, at least I can evolute now! :D


2012/11/7 Tristan Seligmann <mi...@mithrandi.net>

> On Wed, Nov 7, 2012 at 9:46 PM, Marcelo Elias Del Valle
> <mv...@gmail.com> wrote:
> > Service killed by signal 9
>
> Signal 9 is SIGKILL. Assuming that you're not killing the process
> yourself, I guess the most likely cause of this is the OOM killer. If
> you check /var/log/kern.log or dmesg you should see a message
> confirming this.
> --
> mithrandi, i Ainil en-Balandor, a faer Ambar
>



-- 
Marcelo Elias Del Valle
http://mvalle.com - @mvallebr

Re: Service killed by signal 9

Posted by Tristan Seligmann <mi...@mithrandi.net>.
On Wed, Nov 7, 2012 at 9:46 PM, Marcelo Elias Del Valle
<mv...@gmail.com> wrote:
> Service killed by signal 9

Signal 9 is SIGKILL. Assuming that you're not killing the process
yourself, I guess the most likely cause of this is the OOM killer. If
you check /var/log/kern.log or dmesg you should see a message
confirming this.
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar