Hi,

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

[devel...@localhost apache-cassandra-0.7.0-rc1]$ ulimit -l
0

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

[devel...@localhost apache-cassandra-0.7.0-rc1]$ bin/cassandra
[devel...@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

[devel...@localhost apache-cassandra-0.7.0-rc1]$ sudo bin/cassandra
[devel...@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

Java

[devel...@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?

Reply via email to