'su: cannot set user id: Resource temporarily unavailable' error when logging in to the Application Server as the Oracle user in RSA Identity Governance & Lifecycle
Originally Published: 2017-04-26
Article Number
Applies To
RSA Version/Condition: All
Platform (DB): Oracle
Issue
su: cannot set user id: Resource temporarily unavailable
This error occurs when logging in directly as the oracle user, or when using the su - oracle command.
Another symptom is excessive oracle processes with names ora_p001_AVDB through ora_p02n_AVDB. Login as the root user and execute the following command to check for these oracle processes:
ps -ef | grep ora_
Cause
By default, the /etc/security/limits.conf file is configured as follows:
oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536
To check on used threads that would affect the above settings, execute this command as the root user:
ps -u oracle -L | wc -l
You will notice that your number of threads has reached the hard limit for nproc set in the /etc/security/limits.conf file.
Causes for reaching the nproc limit vary but in the case for which this RSA Knowledge Base Article was written, the nproc limit had been reached because the default parameter settings for parallel processing had been modified which created a large amount of parallel slave processes by default at every database restart, and each process used multiple threads which quickly exhausted the limits.
Resolution
In this case, setting the parallel server process numbers back to their default values fixed the problem.
- Login as SYSDBA:
If you can login to the server as the oracle user, use this command to login to SQL*Plus:
sqlplus / as sysdba
If nproc is still maxed out, login to the server as the root user and use this command to login to SQL*Plus:
sqlplus sys/<password> as sysdba
- Modify the system settings back to their default values:
SQL> alter system set parallel_max_servers = 80 scope = both; SQL> alter system set parallel_min_servers = 8 scope = both; SQL> alter system set parallel_servers_target = 32 scope = both;
Notes
- If all the extra processes are justified and the default values were not modified, you may need to increase the nproc values in /etc/security/limits.conf. For more information, please see RSA Knowledge Base Article 000038069 -- What are the recommended ulimit settings in /etc/security/limits.conf for use with RSA Identity Governance & Lifecycle
- For an explanation of Oracle slave process names, please see the Oracle documentation on Background Processes.
Related Articles
How to su as root to a user account protected by securid without getting Passcode prompted. 30Number of Views 'su -' doesn't prompt for passcode on SUSE with PAM Agent 23Number of Views Configuring su on Red Hat Linux 4.0 does not work with RSA Authentication Agent for PAM 5Number of Views Error 'cannot set user id: Resource temporarily unavailable' while trying to login or su as user oracle in RSA Identity Go… 118Number of Views How to manually set the date and time on an RSA Identity Governance & Lifecycle hardware appliance 300Number of Views
Trending Articles
RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Release Notes for RSA Authentication Manager 8.8 RSA Authentication Manager 8.9 Release Notes (January 2026) Deploying RSA Authenticator 6.2.2 for Windows Using DISM RSA MFA Agent 2.4 for Microsoft Windows Installation and Administration Guide
Don't see what you're looking for?