2021-11-23
19c RAC 安装时/etc/profile.d/oracle-grid.sh疑问
在很多rac安装文档中,都在/etc/profile.d配置以下这个脚本,在/etc/security/limits.d/oracle-database-preinstall-19c.conf不是已经设置了oracle和grid用户的资源限制吗,请问:
1、使用ksh时,/etc/security/limits.d/oracle-database-preinstall-19c.conf不生效吗?
2、这个脚本有有什么作用?
3、如果不设置可能会产生什么影响?
cat > /etc/profile.d/oracle-grid.sh << EOF
#Setting the appropriate ulimits for oracle and grid user
if [ \$USER = "oracle" ]; then
if [ \$SHELL = "/bin/ksh" ]; then
ulimit -u 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
if [ \$USER = "grid" ]; then
if [ \$SHELL = "/bin/ksh" ]; then
ulimit -u 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
EOF
我来答
添加附件
收藏
分享
问题补充
3条回答
默认
最新
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
墨值悬赏

评论

