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.burrou...@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".

Reply via email to