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:
jjhua 2011-01-25 04:31:38 +00:00
parent a9b6dcc216
commit b56a9f8654

View File

@ -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