AFAIK, if you are not root, and the administrator has set ulimit -l <some_limit>, there is no help for you - you can't set the limit
higher.
Even if I set "ulimit -l unlimited" as root, my app can still only mlock 32KB. It appears like the ulimit option is being ignored.
You can set it higher only if the administrator has set it as a soft limit (i.e. with -S option).
According to the ulimit man page, if I do just "ulimit -l unlimited", I set both the soft and hard limit to unlimited.
-- Timur Tabi Staff Software Engineer timur.tabi@xxxxxxxxxxx
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/