Database

oracle - shell script error

마니씨 2010. 1. 13. 09:10

# su - oracle
-bash: ulimit: max user processes: cannot modify limit: Operation not permitted
라는 에러가 나온다. ㅠㅠ

1. /etc/profile
if [ $USER = "ora" ]; then
      ulimit -u 16384 -n 65536
fi
의 띄어쓰기에 유의한다...

2. /etc/security/limits.conf
oracle           soft    nproc           2047
oracle           hard    nproc           16384
oracle           soft    nofile          1024
oracle           hard    nofile          65536

soft - hard 의 순서에 유의 한다.