博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ORA-00445: Background Process "xxxx" Did Not Start After 120 Seconds
阅读量:6910 次
发布时间:2019-06-27

本文共 1915 字,大约阅读时间需要 6 分钟。

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

 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.

转载于:https://www.cnblogs.com/feiyun8616/p/7132510.html

你可能感兴趣的文章
ThreadPool.QueueUserWorkItem的性能问题
查看>>
解读ASP.NET 5 & MVC6系列(11):Routing路由
查看>>
机器学习算法一览图
查看>>
识别出脸部以及给脸部打马赛克
查看>>
[转载]git 忽略某些文件
查看>>
jQuery 效果 - 隐藏和显示
查看>>
正则表达式的使用
查看>>
Android复制iPhone日期和时间选择器
查看>>
[C语言]进阶|指针与字符串
查看>>
检测ORACLE方法汇总数据块损坏
查看>>
Binary Tree Maximum Path Sum [leetcode] dp
查看>>
Xamarin.Android开发实践(八)
查看>>
JSON 常用数据转换
查看>>
MongoDB系列一(索引及C#如何操作MongoDB)
查看>>
解决Android SDK下载和更新失败的方法(Win系统) 和离线安装
查看>>
linux下统计当前目录下文件个数
查看>>
Struts2知多少(1) Struts2 MVC架构
查看>>
android 自定义组件-带图片的textView
查看>>
201508整理:前端工程师的(现在主要的问题、工作选择、技术前景未来)
查看>>
iOS开发-NSDictionary
查看>>