startup Linux下oracle报以下错
发表于:2025-11-07 作者:千家信息网编辑
千家信息网最后更新 2025年11月07日,startup Linux下oracle报以下错ORA-27102:out of memory Linux-X86_64 Error: 28: No space left on device
千家信息网最后更新 2025年11月07日startup Linux下oracle报以下错
startup Linux下oracle报以下错ORA-27102:out of memory Linux-X86_64 Error: 28: No space left on device [ID 301830.1]适用于:Oracle Server - Enterprise Edition - Version: 9.2.0.1 and later [Release: 9.2 and later ]Oracle Server - Standard Edition - Version: 9.2.0.1 and later [Release: 9.2 and later]Oracle Server - Enterprise Edition - Version: 9.2.0.1 and later [Release: 9.2 and later]Linux x86-64 When trying to increase the SGA to approach half available RAM with an Oracle 64-bit version on a Linux 64-bit operating system, even though shmmax is set to match half the amount of RAM, you get the following error when trying to start the instance: 在64位linux下使用64位版本的oracle,即使把shmmax参数的大小设置系统可用内存的一半,当把SGA增加到接近一半的系统内存时候,当startup实例的时候,可能得到以下错误SQL> startup nomountORA-27102: out of memoryLinux-x86_64 Error: 28: No space left on deviceChangesshmall is too small, most likely is set to the default setting of 2097152$ cat /proc/sys/kernel/shmall2097152Causeshmall is the total amount of shared memory, in pages, that the system can use at one time. shmall是系统在所有页同一时间使用的共享内存段的总数Solution解决办法Set shmall equal to the sum of all the SGAs on the system, divided by the page size. 设定shmall的值为等同于在系统中所有SGA占用内存大小除以分页大小的得出的最后的值The page size can be determined using the following command: 用以下命令得到分页的大小$ getconf PAGE_SIZE 4096For example, if the sum of all the SGAs on the system is 16Gb and the result of '$ getconf PAGE_SIZE' is 4096 (4Kb) then set shmall to 4194304 pages例如,如果系统中所有SGA的综合为16Gb,然后getconf PAGE_SIZE 得出的结果是4096(4k)那么shmall就设定为4194304页As the root user set the shmall to 4194304 in the /etc/sysctl.conf file:用root用户在/etc/sysctl.conf 文件中设定shmall为 4194304kernel.shmall = 4194304then run the following command:设定后执行以下命令$ sysctl -p$ cat /proc/sys/kernel/shmall4194304NOTE:The above command loads the new value and a reboot is not necessary.以上命令无须重启Switch back to being the oracle user and retry the startup command.切换到oracle用户,重新执行startup命令Modifying /etc/sysctl.conf is a permanent workaround (applies at boot time). 修改/etc/sysctl.conf 是一个永久的解决办法(适用于开机时间)If for some reason you DO NOT want to change the system wide configuration, you can do it on the fly by directly changing the kernel pseudo FS AKA procfs.如果出于某种原因不详对系统大范围改动配置,可以直接改变内核的pseudo FS AKA procfs.# echo "4194304" > /proc/sys/kernel/shmallUsing HUGEPAGES does not alter the calculation for configuring shmall.使用大页不会改变配置shmall的计算结果以上翻译仅供参考ReferencesNOTE:169706.1 - Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2)NOTE:851598.1 - Master Note of Linux OS Requirements for Database ServerNOTE:1351051.2 - Information Center: Install and Configure Database Server/Client InstallationsOracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise EditionOracle Database Products > Oracle Database > Oracle Database > Oracle Server - Standard EditionOracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition64-BIT; 64BIT; HUGEPAGES; INSTALL & CONFIGURE; LINUX; NO SPACE LEFT ON DEVICE; OUT OF MEMORY; START INSTANCEORA-27102Copyright (c) 2007, 2010, Oracle. All rights reserved. Legal Notices and Terms of Use | Privacy Statement
系统
内存
命令
大小
办法
时候
时间
用户
结果
配置
仅供参考
内核
原因
参数
实例
总数
文件
版本
用以
范围
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
松江区专业性网络技术服务保障
河南省交通网络安全管理平台
移动软件开发现状及发展趋势
网络安全排查范文
辽宁机械软件开发技巧
河北一对一网络技术服务原则
电脑服务器开通网站
航海霸业怎么登陆服务器
交通网络安全性的体会
部队网络安全个人自查
开源java数据库连接工具
黑魂服务器维护可以单机吗
freepbx 软件开发
湖北恩商网络技术有限公司
互联网科技公司命名
我的世界服务器组队
计算机网络技术基础盛立军
江宁区网络软件开发
畅指网络技术
数据库技术及应用考试答案
单片机软件开发工程师薪资
湖州营销软件开发中心
家庭网络安全建设方案
数据库表行数据删除不掉
提高网络安全意识图片
抓好网络安全宣传周
ncbi是一个数据库吗
网络安全能报公务员哪些专业
数据库实现集中化控制
安徽速帮客互联网科技有限公司