Monday, February 22, 2016

shared mem

Change ulimit for user
vi .profile
ulimit -n 1024

to change the value for the shared memory,
vi /etc/project
and change the value
value is on byte
if you have to add 2GB then its going to be
2*1024*1024*1024 = 2147483648
so 2147483648 byte.

#
#
#if [ $USER = "oinstall" ]; then
#  if [ $SHELL = "/bin/ksh" ]; then
#    ulimit -p 16384
#    ulimit -n 65536
#  else
#    ulimit -u 16384 -n 65536
#  fi
#fi

To change soft limit
ulimit -Sn 1024

To view the limit
ulimit -Sn
ulimit -Hn

 

No comments:

Post a Comment