Cannot Increase "nproc" Value More Than 1024 in Oracle Linux 6 (Doc ID 1487773.1)

In this Document

  Symptoms
  Cause
  Solution


APPLIES TO:

Linux OS - Version Oracle Linux 6.2 with Unbreakable Enterprise Kernel [2.6.39] and later
Generic Linux
Review currency on 25th.Oct 2014

SYMPTOMS

"/etc/security/limits.conf" is updated with the following and the server is rebooted:

* - nproc 16384


However, "ulimit -a" (for root & all users) still shows the 1024 for "max user processes" instead of 16384:

# ulimit -a

...

max user processes              (-u) 1024

...

 

CAUSE

Oracle Linux 6 has another file setting the nproc value: /etc/security/limits.d/90-nproc.conf

#  cat /etc/security/limits.d/90-nproc.conf

*          soft    nproc     1024

 

SOLUTION

Update "/etc/security/limits.d/90-nproc.conf" and change

*          soft    nproc     1024


to

* - nproc 16384

你可能感兴趣的:(Cannot Increase "nproc" Value More Than 1024 in Oracle Linux 6 (Doc ID 1487773.1))