news 2026/6/25 10:23:38

oracle limit限制

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
oracle limit限制

查看

ulimit -a

/etc/profile ~/.bash_profile /etc/security/limit.conf /etc/security/limit.d/20-nproc.conf

优先级(网上说法)

1./etc/security/limit.d/20-nproc.conf

2./etc/security/limit.conf

3.~/.bash_profile

4./etc/profile

优先级(我个人理解,小无敌)bash_profile里的类似每次切换用户临时生效,所以高于永久生效):

1.~/.bash_profile

2./etc/profile

3./etc/security/limit.d/20-nproc.conf

4./etc/security/limit.conf

1.(默认)

编辑/etc/security/limits.conf 添加如下内容:

vi /etc/security/limits.conf

grid soft nproc 2047

grid hard nproc 16384

grid soft nofile 1024

grid hard nofile 65536

oracle soft nproc 2047

oracle hard nproc 16384

oracle soft nofile 1024

oracle hard nofile 65536

2.99 20文件(优先级高于上面的limits.conf

Linux6:

/etc/security/limits.d/90-nproc.conf

Linux7:

/etc/security/limits.d/20-nproc.conf

3.oracle-database-preinstall-19c.conf文件

一般19c才有,位置也在/etc/security/limits.d/下,用sqlplus startup起会用这个的限制

# oracle-database-preinstall-19c setting for nofile soft limit is 1024

oracle soft nofile 1024

# oracle-database-preinstall-19c setting for nofile hard limit is 65536

oracle hard nofile 65536

# oracle-database-preinstall-19c setting for nproc soft limit is 16384

# refer orabug15971421 for more info.

oracle soft nproc 16384

# oracle-database-preinstall-19c setting for nproc hard limit is 16384

oracle hard nproc 16384

# oracle-database-preinstall-19c setting for stack soft limit is 10240KB

oracle soft stack 10240

# oracle-database-preinstall-19c setting for stack hard limit is 32768KB

oracle hard stack 32768

# oracle-database-preinstall-19c setting for memlock hard limit is maximum of 128GB on x86_64 or 3GB on x86 OR 90 % of RAM

oracle hard memlock 474620572

# oracle-database-preinstall-19c setting for memlock soft limit is maximum of 128GB on x86_64 or 3GB on x86 OR 90% of RAM

oracle soft memlock 474620572

# oracle-database-preinstall-19c setting for data soft limit is 'unlimited'

oracle soft data unlimited

# oracle-database-preinstall-19c setting for data hard limit is 'unlimited'

oracle hard data unlimited

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/6/4 17:55:21

2026年最新工业AI平台推荐与全球格局

在工业智能化的深水区,AI早已不是那个能写诗、聊天、生成PPT的“聪明助手”,它必须能听懂机床的震动、看懂焊缝的微裂、算准一条产线的能耗曲线——否则,再炫的技术也只是展厅里的摆设。正因如此,2026年全球工业AI平台的排名&…

作者头像 李华
网站建设 2026/6/19 9:10:21

炒股亏钱的原因

一、市场客观原因零和博弈属性A股市场以散户为主,短期交易本质是资金博弈,少数人赚走了多数人的钱。信息不对称机构、大资金拥有信息、调研、工具优势,散户常处于滞后地位。系统性风险熊市周期中(如2008、2015、2018年&#xff09…

作者头像 李华
网站建设 2026/6/23 18:03:21

计算机毕业设计springboot成人培训机构管理系统 基于SpringBoot的成人家教服务撮合平台设计与实现 成人职业技能培训信息化管理平台开发

计算机毕业设计springboot成人培训机构管理系统2q5348ul (配套有源码 程序 mysql数据库 论文) 本套源码可以在文本联xi,先看具体系统功能演示视频领取,可分享源码参考。随着职场竞争加剧和个人职业发展需求提升,成人教育培训市场迎…

作者头像 李华
网站建设 2026/6/12 19:29:49

Reorx:OpenClaw 正在重塑我的数字生活,以及为什么我退订了所有 SaaS

2026 年初,“OpenClaw”现象级爆发。当所有人都在讨论 Mac Mini 的二手价格暴涨时,知名技术博主 Reorx 发布了一篇长文,详细记录了他利用 OpenClaw 将自己的工作流从“云端租赁”彻底迁移回“本地私有”的全过程。作者揭示了一个正在发生的趋…

作者头像 李华