incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Schuller <>
Subject Re: using jna.jar "Unknown mlockall error 0"
Date Sat, 09 Oct 2010 08:18:28 GMT
> IIRC, mlockall doesn't work as a non root user on Linux.

Memory locking is permitted for non-root on modern Linux, but is
subject to resource limitations (ulimit -l). I believe this also
applies to mlockall() (and not just mlock()), provided that you lock
MCL_CURRENT rather than MCL_FUTURE (Cassandra does the former).

/ Peter Schuller

View raw message