news 2026/5/1 11:16:46

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/5/1 8:55:27

智科毕设最全项目选题分享

文章目录🚩 1 前言1.1 选题注意事项1.1.1 难度怎么把控?1.1.2 题目名称怎么取?1.2 选题推荐1.2.1 起因1.2.2 核心- 如何避坑(重中之重)1.2.3 怎么办呢?🚩2 选题概览🚩 3 项目概览题目1 : 基于协同过滤的电影…

作者头像 李华
网站建设 2026/4/30 15:49:51

一人干翻所有大厂!OpenClaw硅谷封神,开发者一夜爆赚两亿

硅谷新英雄OpenClaw之父豪言:本地AI智能体将灭掉80%App,人类从此只需「许下愿望」,世界自动为你运转!OpenClaw更是开启万亿美元应用新场景,社交套利从未如此简单!这些天,硅谷正在经历一场前所未…

作者头像 李华
网站建设 2026/5/1 10:04:39

综述不会写?AI论文写作软件 千笔AI VS speedai,专科生专属高效神器!

随着人工智能技术的迅猛迭代与普及,AI辅助写作工具已逐步渗透到高校学术写作场景中,成为专科生、本科生、研究生完成毕业论文不可或缺的辅助手段。越来越多面临毕业论文压力的学生,开始依赖各类AI工具简化写作流程、提升创作效率。但与此同时…

作者头像 李华
网站建设 2026/5/1 10:01:50

指数期权成交量指标的市场情绪量化分析与Python实现

功能说明 本代码旨在通过指数期权成交量数据构建市场情绪量化指标,辅助交易决策。核心功能包括:1) 期权成交量数据采集与预处理;2) 多维度情绪指标计算(看涨/看跌成交量比、PCR指标、成交量加权隐含波动率等)&#xff…

作者头像 李华