zoukankan      html  css  js  c++  java
  • Upon startup of Linux database get ORA27102: out of memory LinuxX86_64 Error: 28: No space left on device

     

    Upon startup of Linux database get ORA-27102: out of memory Linux-X86_64 Error: 28: No space left on device [ID 301830.1]

     

    Applies to:

    Oracle Server - Enterprise Edition - Version: 9.2.0.4 to 11.2.0.2 - Release: 9.2 to 11.2
    Red Hat Enterprise Linux Advanced Server x86-64 (AMD Opteron Architecture)
    x86 64 bit (for Enterprise Linux only)
    SUSE / UnitedLinux x86-64

    Symptoms

    When trying to increase the SGA to approach half available RAM with an Oracle 64bit version on a Linux 64bit 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:

    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.

    Solution

    Set shmall equal to the sum of all the SGAs on the system, divided by the page size.

    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

    As the root user set the shmall to 4194304 in the /etc/sysctl.conf file:

    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.

     

     

     

     

    From Oracle

    -------------------------------------------------------------------------------------------------------

    Blog http://blog.csdn.net/tianlesoftware

    Email: dvd.dba@gmail.com

    DBA1 群:62697716();   DBA2 群:62697977()   DBA3 群:62697850()  

    DBA 超级群:63306533();  DBA4 群: 83829929  DBA5群: 142216823   

    DBA6 群:158654907  聊天 群:40132017   聊天2群:69087192

    --加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请

    道森Oracle,国内最早、最大的网络语音培训机构,我们提供专业、优质的Oracle技术培训和服务! 我们的官方网站:http://www.daosenoracle.com 官方淘宝店:http://daosenpx.taobao.com/
  • 相关阅读:
    CodeSmith中SchemaExplorer属性的介绍
    Bugku-INSERT INTO 注入
    XCTF-PHP2
    网络安全实验室CTF-注入关
    XSS挑战
    SQL注入
    CTFHub-技能树-命令执行
    CTFHub-技能树-文件上传
    史上最难的一道Java面试题 (分析篇)
    高可用的一些思考和理解
  • 原文地址:https://www.cnblogs.com/tianlesoftware/p/3609678.html
Copyright © 2011-2022 走看看