Account Links: Cart | Register | Log In

Skip to content

Red Hat Knowledgebase
Red Hat Knowledgebase Search
Currently Being Moderated

What would need to be done to increase the locked limit for a user?

Article ID: 1413 - Created on: Mar 6, 2008 6:00 PM - Last Modified:  Mar 6, 2008 6:00 PM

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.

Tags: basics
Feedback from users like yourself is a critical factor in helping us make the Red Hat Knowledgebase as useful as possible.

More Like This

  • Retrieving data ...