[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cassandra-dev
Subject:    Re: JNA to activate cassandra row cache
From:       Ben Bromhead <ben () instaclustr ! com>
Date:       2013-08-22 2:21:19
Message-ID: 7EEBF135-0E78-4AE7-9D42-8844FADAB8CC () instaclustr ! com
[Download RAW message or body]


Under the hood a process needs permissions for kernel capabilities in order to pin \
memory. 

Under linux a process needs the CAP_IPC_LOCK capability to call mlockall (which is \
used by C*), 99% of the time you don't have to worry about this unless you run SE \
linux or are messing about with your limits.conf. 

Under other OS's that use RBAC style permissions, for example Solaris, where \
capabilities are often specified according to project, role, service etc the \
capability may need to be explicitly set.

Ben Bromhead
Instaclustr | www.instaclustr.com | @instaclustr 

On 22/08/2013, at 5:47 AM, Chris Burroughs <chris.burroughs@gmail.com> wrote:

> On 08/19/2013 02:49 PM, CROCKETT, LEONARD P wrote:
> > Must Cassandra 1.2.5 run as root for JNA jar to effectively disable swapping?
> 
> It doesn't globally disable swap (which would require root), but "don't swap this \
> block of memory".



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic