ORA-27104: system-defined limits for shared memory was misconfigured与Linux内核参数配置有关的案例
```
[oracle@WWJD01 ~]$ sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Fri Sep 21 15:11:52 2018
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-27104: system-defined limits for shared memory was misconfigured
SQL>
```
- alert log
```
2018-09-21T15:05:16.542629+08:00
Starting ORACLE instance (normal) (OS id: 48277)
2018-09-21T15:05:16.552691+08:00
CLI notifier numLatches:97 maxDescs:19852
2018-09-21T15:05:16.554591+08:00
System cannot support SGA size of 81335943168 bytes
2018-09-21T15:05:16.554690+08:00
Current maximum shared memory configured 8589934592 bytes
2018-09-21T15:05:16.554781+08:00
Increase the system shared memory size to atleast 81335943168 bytes
```
```
[root@WWJD01 ~]# ipcs -l
------ Shared Memory Limits --------
max number of segments = 40960
max seg size (kbytes) = 32768
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 100
semaphore max value = 32767
------ Messages: Limits --------
max queues system wide = 36430
max size of message (bytes) = 131072
default max size of queue (bytes) = 131072
```
- 节点2
```
[root@WWJD02 ~]# ipcs -l
------ Shared Memory Limits --------
max number of segments = 40960
max seg size (kbytes) = 132102588
max total shared memory (kbytes) = 105682068
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 100
semaphore max value = 32767
------ Messages: Limits --------
max queues system wide = 36430
max size of message (bytes) = 131072
default max size of queue (bytes) = 131072
```
```
cat /etc/sysctl.conf
```
- 集成方案值
```
kernel.shmall = 184467440736927743990
kernel.shmmax = 184467440736927743990
```
- 修改后值
```
kernel.shmall = 26420517
kernel.shmmax = 135273050112
```
- Oracle建议值
```
kernel.shmall = 66051072
kernel.shmmax = 162327114547
kernel.shmall:控制共享内存页数,该参数大小为物理内存除以pagesize
kernel.shmmax:设置为实际物理内存的2/3
```
```
[root@WWJD01 ~]# getconf PAGESIZE
4096
```
```
[root@WWJD01 ~]# free -m
total used free shared buffers cached
Mem: 258012 87100 170912 78214 225 79199
-/+ buffers/cache: 7675 250337
Swap: 65535 0 65535
```
```
kernel.shmall = 258012*1024/4=66051072
kernel.shmmax = 258012*1024*1024*0.6=162327114547.2
```
ORA-27104: system-defined limits for shared memory was misconfigured与Linux内核参数配置有关的案例的更多相关文章
- 【ORA】ORA-27125:unable to create shared memory segment
在安装Oracle 10g的时候出现一个了错误,在网上总结了一下大牛写的文章 ORA-27125:unable to create shared memory segment 安装时出现这个错误安装会 ...
- RAC数据库的ORA-27123: Unable To Attach To Shared Memory Segment Linux-x86_64 Error: 22: Invalid argument
RAC数据库的 ORA-27123: Unable To Attach To Shared Memory Segment Linux-x86_64 Error: 22: Invalid argumen ...
- boost Shared Memory
Shared Memory Shared memory is typically the fastest form of interprocess communicatioin. It provide ...
- ORA-27101: shared memory realm does not exist
Oracle Error Tips by Burleson Consulting Oracle docs note this about ORA-27101: ORA-27101: shared me ...
- zabbix登陆问题:cannot allocate shared memory for collector
问题说明:在一台zabbix被监控服务器上(64位centos6.8系统,64G内容)启动zabbix_agent,发现进程无法启动,10050端口没有起来! 启动zabbix_agent进程没有报错 ...
- Oracle调整内存超出限制出现ORA-27100: shared memory realm already exists问题解决办法
今天测试服务器遇到问题 ORA-04030:out of process memory when trying to allocate string bytes 一看就猜到是内存不足了,把Oracle ...
- Oracle:shared memory realm does not exist
1. 先描述一个连接Oracle 10g的错误:“shared memory realm does not exist” 如图所示Sqlplus连接时出现这个错误: 2. Oracle 服务器主要组件 ...
- Oracle数据库使用出现错误-状态: 失败 ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist
Oracle数据库使用出现错误-状态: 失败 ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist ...
- 解决zabbix的cannot allocate shared memory of size错误
问题状态:zabbix_server 不能启动,系统CentOS 6.7 原因分析:这是因为内核对share memory的限制造成的. 用到如下命令ipcs [-m|l|a],sysctl [-a| ...
随机推荐
- 期货大赛项目|六,iCheck漂亮的复选框
废话不多说,直接上图 对,还是上篇文章的图,这次我们不研究datatables,而是看这个复选框,比平常的复选框漂亮太多 看看我是如何实现的吧 插件叫iCheck 用法也简单 引入js和css $(& ...
- fillder---断言,更改提交数据
1.before requests:请求的发送前拦截,此时可以修改提交的表单.cookies.header头数据 在URL请求前,设置为before requests 2.after response ...
- es ik分词插件安装
1.ik下载(下载es对应版本的ik分词包) https://github.com/medcl/elasticsearch-analysis-ik/releases 2.mac cd /usr/loc ...
- rpm 安装、卸载软件命令 ——以nginx为例
1.安装 命令:rpm -ivh nginx-1.14.0-1.el7_4.ngx.x86_64.rpm 2.查看安装结果 命令:rpm -qa | grep nginx 3.升级 ...
- asp.net 页面生命周期事件详细
(1)请求页面:页请求发生在页生命周期开始之前. (2)开始:在开始阶段,将设置页属性,如Request和Response.在此阶段,页还将确定请求是回发请求还是新请求,并设置IsPostBack属性 ...
- java @Override 报错解决
有时候Java的Eclipse工程换一台电脑后编译总是@override报错,把@override去掉就好了,但不能从根本上解决问题,因为有时候有@override的地方超级多. 这是jdk的问题,@ ...
- S0.1 【转】调色板
摘自<数字图像处理编程入门> 我发在csdn下载区了, 作为免费资源,传送:<数字图像处理编程入门> csdn不允许免费资源了,微盘链接:<数字图像处理编程入门> ...
- ActiveMq实例
1.发布端 import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.DeliveryMode ...
- js以键值对的方式获取URL的参数
在前端日常的开发中,大多数时候我们只需用js获取到url中的参数即可,这个实现起来也很方便如: function getQueryString(value) { const reg = new Reg ...
- C++中的auto的使用
需要改变迭代对象 for(auto &i:s) string s = "hello"; for (auto &i : s ) i = toupper(i); //改 ...