Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7BEA2D67D for ; Thu, 13 Sep 2012 17:06:08 +0000 (UTC) Received: (qmail 52372 invoked by uid 500); 13 Sep 2012 17:06:08 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 52317 invoked by uid 500); 13 Sep 2012 17:06:08 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 52309 invoked by uid 99); 13 Sep 2012 17:06:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2012 17:06:08 +0000 Date: Fri, 14 Sep 2012 04:06:08 +1100 (NCT) From: "Martin Mokry (JIRA)" To: commits@cassandra.apache.org Message-ID: <1312228524.75519.1347555968234.JavaMail.jiratomcat@arcas> In-Reply-To: <996045625.34417.1333049782625.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-4104) Cassandra appears to hang when JNA enabled and heapsize > free memory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455012#comment-13455012 ] Martin Mokry commented on CASSANDRA-4104: ----------------------------------------- It is surprising it got even that far this time. The debian package is installed - libjna-java and the message looks like this is not a fatal error. > Cassandra appears to hang when JNA enabled and heapsize > free memory > --------------------------------------------------------------------- > > Key: CASSANDRA-4104 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4104 > Project: Cassandra > Issue Type: Bug > Affects Versions: 1.0.8 > Reporter: Joaquin Casares > Priority: Minor > Labels: datastax_qa > > When JNA is enabled heapsize is larger than free memory, all that is printed out is the classpath, then the printouts stop. > If you hit enter again, you get the commandline, but no Cassandra process is running. > Tested on both OpenJDK and Oracle Java. > {noformat} > datastax@datastax-image:~/repos/cassandra$ free -m > total used free shared buffers cached > Mem: 2008 740 1267 0 3 54 > -/+ buffers/cache: 682 1326 > Swap: 0 0 0 > datastax@datastax-image:~/repos/cassandra$ sudo bin/cassandra > datastax@datastax-image:~/repos/cassandra$ INFO 14:31:32,520 Logging initialized > INFO 14:31:32,533 JVM vendor/version: Java HotSpot(TM) 64-Bit Server VM/1.6.0_31 > INFO 14:31:32,534 Heap size: 1247805440/1247805440 > INFO 14:31:32,534 Classpath: bin/../conf:bin/../build/classes/main:bin/../build/classes/thrift:bin/../lib/antlr-3.2.jar:bin/../lib/avro-1.4.0-fixes.jar:bin/../lib/avro-1.4.0-sources-fixes.jar:bin/../lib/commons-cli-1.1.jar:bin/../lib/commons-codec-1.2.jar:bin/../lib/commons-lang-2.4.jar:bin/../lib/compress-lzf-0.8.4.jar:bin/../lib/concurrentlinkedhashmap-lru-1.2.jar:bin/../lib/guava-r08.jar:bin/../lib/high-scale-lib-1.1.2.jar:bin/../lib/jackson-core-asl-1.4.0.jar:bin/../lib/jackson-mapper-asl-1.4.0.jar:bin/../lib/jamm-0.2.5.jar:bin/../lib/jline-0.9.94.jar:bin/../lib/jna.jar:bin/../lib/json-simple-1.1.jar:bin/../lib/libthrift-0.6.jar:bin/../lib/log4j-1.2.16.jar:bin/../lib/servlet-api-2.5-20081211.jar:bin/../lib/slf4j-api-1.6.1.jar:bin/../lib/slf4j-log4j12-1.6.1.jar:bin/../lib/snakeyaml-1.6.jar:bin/../lib/snappy-java-1.0.4.1.jar:bin/../lib/jamm-0.2.5.jar > datastax@datastax-image:~/repos/cassandra$ ps auwx | grep cass > datastax 18374 1.0 0.0 13448 904 pts/2 S+ 14:32 0:00 grep --color=auto cass > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira