United States (change)
Shortcuts: Downloads Fedora Red Hat Network
The default locked limit in the kernel is just 32KB. If the normal user whose gid is present in the file /proc/sys/vm/hugetlb_shm_group needs more memory than this, the default limit must be increased. If pam is installed on the system, resource limits can be configured by installing lines similar to the following in /etc/security/limits.conf:
@hugegroup soft memlock 2097152
@hugegroup hard memlock 2097152
Otherwise, manipulate the locked limit command directly with ulimit. See the command's man page for more information.