news 2026/6/16 13:39:53

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/12 16:08:55

为什么运维转网安特别简单?3 个核心优势 + 1 条落地路径,看完就懂!

很多运维从业者想转型网络安全,却总担心 “技术跨度大、入门难”。其实从行业底层逻辑来看,运维和网安本就是 “同源而生”—— 运维负责 “保障系统正常运行”,网安负责 “抵御威胁、守护运行安全”,两者共享 80% 的技术基础。甚…

作者头像 李华
网站建设 2026/6/15 18:09:09

横评后发现,AI论文软件千笔 VS 知文AI更贴合自考需求!

随着人工智能技术的迅猛发展,AI辅助写作工具正逐步渗透到高校学术写作场景中,成为专科生、本科生、研究生完成毕业论文不可或缺的助手。越来越多的学生在面对繁重的论文任务时,开始借助AI工具来提升写作效率、降低创作难度。然而,…

作者头像 李华
网站建设 2026/6/12 13:09:00

对比一圈后 9个降AIGC平台深度测评:继续教育降AI率必备工具推荐

在当前学术写作日益依赖AI工具的背景下,如何有效降低AIGC率、去除AI痕迹并优化查重率,已成为继续教育领域学生和教师关注的核心问题。随着AI生成内容的普及,许多论文在提交前都面临被系统识别为AI创作的风险,这不仅影响成绩&#…

作者头像 李华