Error 'cannot set user id: Resource temporarily unavailable' while trying to login or su as user oracle in RSA Identity Governance and Lifecyle appliance
2 years ago
Originally Published: 2016-09-06
Article Number
000043134
Applies To
RSA Product Set: Identity Governance & Lifecycle 
RSA Version/Condition: 6.8, 6.9, 7.x
Issue
When attempting to log in to the RSA Identity Governance & Lifecycle server as the oracle user either directly or using su, the login fails with:
su: cannot set user id: Resource temporarily unavailable
 
Cause
The number of processes available to the oracle user has been exceeded. This number of processes available is based on the nproc soft and hard ulimits defined in /etc/security/limits.conf.

To verify that this is the issue, execute the command below as the root user. This will show you the number of executing threads by user oracle.
 ps -u oracle -L | wc -l
If this is the issue, you will  see the output from the above command exceeds the setting defined in /etc/security/limits.conf:
oracle soft nproc xxxxx
 
Resolution
Please refer to RSA Knowledge Base Article 000038069 -- What are the recommended ulimit settings in /etc/security/limits.conf for use with RSA Identity Governance & Lifecycle for instructions on setting ulimits to the appropriate values for use with RSA Identity Governance & Lifecycle and AFX.