Hi guys, I am trying to run Cassandra on CentOS as an user X other then root or cassandra. When I run as user cassandra, it starts and runs fine. But, when I run under user X, I am getting the below error once cassandra started and system freezes totally.
*Insufficient memlock settings:* WARN [main] 2011-06-15 09:58:56,861 CLibrary.java (line 118) Unable to lock JVM memory (ENOMEM). This can result in part of the JVM being swapped out, especially with mmapped I/O enabled. Increase RLIMIT_MEMLOCK or run Cassandra as root. I have tried the tips available online to change the memlock and other limits both for users cassadra and X, but did not solve the problem. What else I should consider when I run cassandra other then user cassandra/root. Any help is much appreciated. Thanks Dev