Hi, I think you should check the followings:

* The setting is already written to /etc/security/limits.conf.
* The command is executed by root user.
* If you use sshd to connect the server and execute the command, you should make sure you have "UsePAM yes" in /etc/ssh/sshd_config and restart sshd once again.

Regards,
Akira

(2014/04/21 18:51), lei liu wrote:
I use hadoop-2.4, I want use the hdfs cache function.

I use "ulimit -l  32212254720" linux command to  set size of max locked
memory, but there is below error:
  ulimit  -l  322
-bash: ulimit: max locked memory: cannot modify limit: Operation not
permitted

How can I set size of max locked memory?

Thanks,

LiuLei


Reply via email to