创建了oracle用户后,在切换用户时出现错误
-bash: ulimit: max user processes: cannot modify limit: Operation not permitted
解决办法:
在/etc/security/limits.conf文件后追加如下几行
oracle soft nproc 16384
oracle hard nproc 16384
oracle soft nofile 65536
oracle hard nofile 65536
oracle soft memlock 4000000
oracle hard memlock 4000000
详情参照原文:https://blog.csdn.net/leshami/article/details/8749773