You are here

Configure the ulimit

One of the Oracle Enterprise Manager 12c installation prerequisites is to increase the number of file descriptors to at least 4096. As root, edit the /etc/security/limits.conf file and add the following two entries:
<UID> soft nofile 4096
<UID> hard nofile 4096
 
If using oracle-rdbms-server-12cR1-preinstall the settings will be in the oracle-rdbms-server-12cR1-preinstall.conf file. As root, edit the /etc/security/limits.d/oracle-rdbms-server-12cR1-preinstall.conf file as shown in the next example.
Change
oracle    soft    nofile    1024
To
oracle    soft    nofile    4096
 
There is also a limit on the number of max user processes in the  /etc/security/limits.d/90-nproc.conf file. As root, edit the /etc/security/limits.d/90-nproc.conf file and make the following changes.
Change
*    soft    nproc    1024
To
*    -    nproc    16384
 
Confirm the new limits by looking at output of ulimit -a:
$ su - oracle
$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 96073
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 4096
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 16384
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

Download PDF Now!