Set Shell Limits For The Oracle User

Feature Data Objects API

 
Set Shell Limits For The Oracle User
 
 
 

The following lines were added to /etc/security/limits.conf.

oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536

The following line was added to /etc/pam.d/login.

session required /lib/security/pam_limits.so

The following lines were added to /etc/profile.

if [ $USER = “oracle” ]; then
	if [ $SHELL = “/bin/ksh” ]; then
		ulimit -p 16384
		ulimit -n 65536
	else
		ulimit -u 16384 -n 65536
	fi
fi

The following lines were added to /etc/csh.login.

if ( $USER == “oracle” ) then
	limit maxproc 16384
	limit descriptors 65536
endif