incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Pell <>
Subject Issues getting JNA to work correctly under centos 5.5 using cassandra 0.7.0-rc1 and JNA 2.7.3
Date Fri, 26 Nov 2010 04:02:08 GMT

I have set the memlock limit to unlimited in /etc/security/limits.conf

[developr@localhost apache-cassandra-0.7.0-rc1]$ ulimit -l

Running as a non root user gets me a Unknown mlockall error 1

[developr@localhost apache-cassandra-0.7.0-rc1]$ bin/cassandra
[developr@localhost apache-cassandra-0.7.0-rc1]$  INFO 14:52:47,777
Heap size: 1060569088/1061617664
 WARN 14:52:47,884 Unknown mlockall error 1

If I run as root user

[developr@localhost apache-cassandra-0.7.0-rc1]$ sudo bin/cassandra
[developr@localhost apache-cassandra-0.7.0-rc1]$  INFO 14:53:43,776
Heap size: 1060569088/1061617664
 INFO 14:53:52,510 JNA mlockall successful

I am running linux

Linux localhost.localdomain 2.6.18-194.17.4.el5 #1 SMP Mon Oct 25
15:51:07 EDT 2010 i686 i686 i386 GNU/Linux


[developr@localhost apache-cassandra-0.7.0-rc1]$ java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode)

What else can I provide to determine this issue, or is my centos
kernel just not capable??  Perhaps only more recent kernels are
supported outside of root?

View raw message