On Tue, Mar 22, 2011 at 3:44 PM, ruslan usifov <[email protected]>wrote:

>
>
> 2011/3/22 Adi <[email protected]>
>
>> I have been going through the mailing list and compiling suggestions to
>> address the swapping due to mmap issue.
>>
>> 1) Use JNA (done but)
>> Are these steps also required:
>> - Start Cassandra with CAP_IPC_LOCK (or as "root"). (not done)
>>
>
> And what is CAP_IPC_LOCK?


I saw that suggestion in
https://issues.apache.org/jira/browse/CASSANDRA-1214.

I do not yet know how to run cassandra or a java process with that
privilege, still researching and hoping my sysadmin knows better.

http://www.lids.org/lids-howto/node50.html

   - Allow locking of shared memory segments
   - Allow mlock and mlockall (which doesn't really have anything to do with
   IPC)

Reply via email to