cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adi <adi.pan...@gmail.com>
Subject Re: Advice on mmap related swapping issue
Date Tue, 22 Mar 2011 19:52:31 GMT
On Tue, Mar 22, 2011 at 3:44 PM, ruslan usifov <ruslan.usifov@gmail.com>wrote:

>
>
> 2011/3/22 Adi <adi.pandit@gmail.com>
>
>> 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)

Mime
View raw message