Re: JNA to activate cassandra row cache

2013-08-21 Thread Ben Bromhead
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 l

Re: JNA to activate cassandra row cache

2013-08-21 Thread Chris Burroughs
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".