add the memlock into the /etc/security/limits.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
a9b6dcc216
commit
b56a9f8654
@ -73,5 +73,8 @@ fi
|
||||
#/usr/bin/sed -i 's/HARDRESIDENTLIMIT=.*/HARDRESIDENTLIMIT="unlimited"/g' $installroot/etc/sysconfig/ulimit
|
||||
#/usr/bin/sed -i 's/SOFTRESIDENTLIMIT=.*/SOFTRESIDENTLIMIT="unlimited"/g' $installroot/etc/sysconfig/ulimit
|
||||
|
||||
#max locked memory
|
||||
echo "* soft memlock unlimited" >> $installroot/etc/security/limits.conf
|
||||
echo "* hard memlock unlimited" >> $installroot/etc/security/limits.conf
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user