000033965 - Error 'cannot set user id: Resource temporarily unavailable' while trying to login or su as oracle user in RSA Identity Governance and Lifecyle appliance

Document created by RSA Customer Support Employee on May 30, 2017
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000033965
Applies ToRSA Product Set: RSA Identity Governance and Lifecycle 
RSA Version/Condition: 6.8.1+
IssueWhile trying to login or su as oracle user, you may get the following error:
su: cannot set user id: Resource temporarily unavailable

CauseUser oracle has reached the soft limit for nproc, defined in /etc/security/limits.conf.  By default, appliances are set to 2047 for nproc soft limit.
oracle  soft    nproc   2047
oracle  hard    nproc   16384
oracle  soft    nofile  1024
oracle  hard    nofile  65536

You can run the following command as the root user to see the oracle's number of executing threads: 
ps -u oracle -L | wc -l

You will most likely see the output for the above command to be higher than the soft limit for nproc defined in limits.conf. 
Resolution2047 is limit set during oracle installation. This is often too low as ACM and AFX are also installed under oracle user in software and hardware appliance with local database. 
Increase the nproc value for the oracle user defined in /etc/security/limits.conf using your favorite text editor.
oracle  soft    nproc   2047  

For example, increase this value to be higher than the output from the command ps -u oracle -L | wc -l.
oracle   soft   nproc    16384

The GIF below shows the steps needed:
User-added image

This should take effect immediately.