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 nomount

ORA-27102: out of memory

Linux-x86_64 Error: 28: No space left on device

Changes

shmall is too small, most likely is set to the default setting of 2097152

$ cat /proc/sys/kernel/shmall

2097152

Cause

shmall 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

4096

For 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为 4194304

kernel.shmall = 4194304

then run the following command:

设定后执行以下命令

$ sysctl -p

$ cat /proc/sys/kernel/shmall

4194304

NOTE:

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/shmall

Using HUGEPAGES does not alter the calculation for configuring shmall.

使用大页不会改变配置shmall的计算结果

以上翻译仅供参考

References

NOTE: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 Server

NOTE:1351051.2 - Information Center: Install and Configure Database Server/Client Installations

Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition

Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Standard Edition

Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition

64-BIT; 64BIT; HUGEPAGES; INSTALL & CONFIGURE; LINUX; NO SPACE LEFT ON DEVICE; OUT OF MEMORY; START INSTANCE

ORA-27102

Copyright (c) 2007, 2010, Oracle. All rights reserved. Legal Notices and Terms of Use | Privacy Statement

oracle startup出错,startup Linux下oracle报以下错相关推荐

  1. linux的oracle怎么建库,linux下oracle手工建库过程

    1.创建目录 $ORACLE_BASE/admin/ $ORACLE_BASE/oradata $ORACLE_BASE/flash_recovery_area 2.建初始化参数文件 cd   $OR ...

  2. linux下oracle 9204 soft only,linux 下oracle 9i的安装

    首先,准备安装需要的软件包和补丁包: 从网上下载升级补丁包,用于将Oracle9.2.0升级到9.2.0.4: p3006854_9204_LINUX.zip 所有的补丁说明如下: p3095277_ ...

  3. oracle设置开机启动,linux下oracle设置开机自启动实现方法

    一.在Linux下启动Oracle 登录到CentOS,切换到oracle用户权限 # su – oracle 接着输入: $ sqlplus "/as sysdba" 原本的画面 ...

  4. 【Oracle 集群】Linux下Oracle RAC集群搭建之基本测试与使用(九)

    Oracle 11G RAC数据库安装(九) 概述:写下本文档的初衷和动力,来源于上篇的<oracle基本操作手册>.oracle基本操作手册是作者研一假期对oracle基础知识学习的汇总 ...

  5. linux下安装oracle集群,【Oracle 集群】Linux下Oracle RAC集群搭建之Oracle DataBase安装(八)...

    目录 数据库安装 继oracle集群安装之后,接下来也是最重要的数据库安装,整个数据库安装难度不大,用户以oracle用户身份登录RAC1主节点,对解压后的文件安装.主节点下安装后,其他所有结点自动安 ...

  6. linux oracle新建监听,linux 下 oracle图形界面(需配置监听,创建实例)

    摘要:oracle 图形界面配置监听,创建实例,以下都是我安装是的截图,按步骤一定可以安装成功! CentOS6.7_x64_minimal_desktop的虚拟机一台(安装oracle需要图形界面, ...

  7. linux oracle删除恢复数据恢复,Linux下Oracle误删除数据文件恢复操作

    检查数据文件的位置如下: SQL> select name from v$datafile; NAME --------------------------------------------- ...

  8. linux中oracle数据乱码,解决linux下oracle导入数据中文乱码方案

    主要的原因是两个数据库的字符集不相同引起的 先查导出的数据的oracle字符集 用sys用户登陆oracle 用如下命令: select * from nls_database_parameters ...

  9. su user oracle does not exist,Linux下oracle用户无法su切换的异常【终极解决方案_生产环境亲测有效】...

    客户的Oracle生产环境数据库准备迁移到云服务器环境,于是先把新的云环境搭建好了dataguard后,准备到客户当前的生产环境做expdp备份,由于有一段时间没登录这个旧环境了,登上去发现一个很离奇 ...

最新文章

  1. 免费教材丨第55期:Python机器学习实践指南、Tensorflow 实战Google深度学习框架
  2. 90. Subsets II 1
  3. 基于mindspore的口罩检测训练与在线推理
  4. [JavaWeb-XML]XML概述
  5. iTerm2分屏时,如何使得新窗口的当前路径和前一个窗口一样?
  6. 简单的UTF8编码生成
  7. SpringMVC对日期类型的转换
  8. hdu 1806 Frequent values 线段树
  9. What's the QPSK?
  10. eclipse中文语言包 离线安装
  11. csm和uefi_BIOS里的 CSM 是什么意思,我的只有UEFI
  12. win7计算机自动关机设置在哪里设置方法,win7系统怎么设置每天自动关机|win7创建定时关机计划的方法...
  13. 洛谷 1571 眼红的Medusa
  14. 知识库构建前沿:自动和半自动知识提取
  15. 通俗易懂的哈希算法讲解
  16. 低代码真的是“行业毒瘤”?
  17. linux设置系统时间戳
  18. kodu_Kodu教您的孩子直观地编程自己的视频游戏
  19. iOS播放器之基于VLCKit的自定义播放器
  20. 随着国产动漫的崛起,越来越好奇3D动漫的制作过程了

热门文章

  1. Linux下载及配置
  2. 李忠汇编语言-初学-第九天
  3. 视觉算法具体是做什么,视觉神经算法有哪些
  4. 奇门排盘app 保存html,‎App Store 上的“奇门-支持多种奇门的专业排盘系统”
  5. 数据结构-数组与压缩矩阵
  6. Mix-Editor图文编辑器----Android图文编辑器
  7. 如何让员工心甘情愿地加班
  8. Python进阶之路第一话之python引力
  9. 四川多多开店:拼多多店铺开发票能不开吗
  10. 电脑重置可能出现的问题及解决办法