incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Bromhead <...@instaclustr.com>
Subject Re: JNA to activate cassandra row cache
Date Thu, 22 Aug 2013 02:21:19 GMT
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".


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message