September 23 2013

su: cannot set user id: Resource temporarily unavailable

Hi there,
I’m getting following error when I use root to “su – oracle” in Linux. Finally, I found the solution as shown below 🙂

# uname -srm
Linux 2.6.18-308.11.1.el5 x86_64

# su – oracle
su: cannot set user id: Resource temporarily unavailable

# ps -eLF | grep “^oracle” | wc -l
2068

Increase value “nproc soft limit” for oracle:
#– /etc/security/limits.conf –#

#oracle soft nproc 2047
oracle soft nproc 4095

# su – oracle
$ whoami
oracle