cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Schuller <peter.schul...@infidyne.com>
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

Mime
View raw message