zoukankan      html  css  js  c++  java
  • ORA-00445: Background Process "xxxx" Did Not Start After 120 Seconds

    Recent linux kernels have a feature called Address Space Layout Randomization (ASLR).
    ASLR  is a feature that is activated by default on some of the newer linux distributions.
    It is designed to load shared memory objects in random addresses.
    In Oracle, multiple processes map a shared memory object at the same address across the processes.

    With ASLR turned on Oracle cannot guarantee the availability of this shared memory address.
    This conflict in the address space means that a process trying to attach a shared memory object to a specific address may not be able to do so, resulting in a failure in shmat subroutine.

    However, on subsequent retry (using a new process) the shared memory attachment may work.
    The result is a "random" set of failures in the alert log.

    SOLUTION

    It should be noted that this problem has only been positively diagnosed in Redhat 5 and Oracle 11.2.0.2. 
    It is also likely, as per unpublished BUG:8527473,  that this issue will reproduce running on Generic Linux platforms running  any Oracle 11.2.0.x. or 12.1.0.x  on Redhat/OEL kernels which have ASLR. 

    This issue has been seen in both Single Instance and RAC environments.

    ASLR also exists in SLES10 and SLES 11 kernels and by default ASLR is turned on.  To date no problem has been seen on SuSE servers running Oracle  but Novell confirm ASLR may cause problems.  Please refer to

    http://www.novell.com/support/kb/doc.php?id=7004855 mmap occasionally infringes on stack

    You can verify whether ASLR is being used as follows:

     # /sbin/sysctl -a | grep randomize
    kernel.randomize_va_space = 1

    If the parameter is set to any value other than 0 then ASLR is in use.

    On Redhat 5 to permanently disable ASLR.

    add/modify this parameter in /etc/sysctl.conf
    kernel.randomize_va_space=0
    kernel.exec-shield=0

    You need to reboot for kernel.exec-shield parameter to take effect. 

    Note that both kernel parameters are required for ASLR to be switched off.

  • 相关阅读:
    hdu 1280 排序水题
    hdu 3336 KMP+DP (仍不懂)
    懂点PS技巧,你会减少很多痛苦
    ajax返回值中有回车换行、空格的解决方法分享
    windows7系统下让所有文件夹都使用同一种视图的方法
    LINUX常用命令大全归纳篇
    js 运算符
    获取修改父页面元素
    while跟do...while的用法
    jQuery取得select选择的文本与值
  • 原文地址:https://www.cnblogs.com/feiyun8616/p/7132510.html
Copyright © 2011-2022 走看看