重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 105|回复: 0
打印 上一主题 下一主题

[参考文档] ORA-00603 ORA-27504: IPC error creating OSD context ORA-27300 ORA-27301 ORA-2...

[复制链接]
跳转到指定楼层
楼主
发表于 5 天前 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
"ORA-27301: OS failure message: No buffer space available" occurs on OPC RAC (Doc ID 2397062.1)


APPLIES TO:
Oracle Database Cloud Service - Version N/A and later
Information in this document applies to any platform.
SYMPTOMS
"ORA-27301: OS failure message: No buffer space available" occurs on DBCS instance with RAC configuration:
- alert_xxxxxx1.log
2018-04-08T19:54:27.605773+09:00
Errors in file /u01/app/oracle/diag/rdbms/xxxxxx/xxxxxx1/trace/xxxxxx1_j000_4624.trc (incident=136769) (PDBNAME=XXXXXXXXXX):
ORA-00603: ORACLE server session terminated by fatal error
ORA-27504: IPC error creating OSD context
ORA-27300: OS system dependent operation:sendmsg failed with status: 105
ORA-27301: OS failure message: No buffer space available
ORA-27302: failure occurred at: sskgxpsnd2
XXXXXXXXXX(6):Incident details in: /u01/app/oracle/diag/rdbms/xxxxxx/xxxxxx1/incident/incdir_136769/xxxxxx1_j000_4624_i136769.trc
...
2018-04-08T19:54:42.355736+09:00
Errors in file /u01/app/oracle/diag/rdbms/xxxxxx/xxxxxx1/trace/xxxxxx1_j000_4624.trc (incident=136770) (PDBNAME=XXXXXXXXXX):
ORA-00603: ORACLE server session terminated by fatal error
ORA-27504: IPC error creating OSD context
ORA-27300: OS system dependent operation:sendmsg failed with status: 105
ORA-27301: OS failure message: No buffer space available
ORA-27302: failure occurred at: sskgxpsnd2
XXXXXXXXXX(6):Incident details in: /u01/app/oracle/diag/rdbms/xxxxxx/xxxxxx1/incident/incdir_136770/xxxxxx1_j000_4624_i136770.trc
CHANGES
CAUSE
Similar problems have been reported also on on-premises RAC database, but as for the case occurs on OPC RAC instances it was investigated on unpublished Bug 26485917.
As a result it was proved that the value of kernel parameter vm.min_free_kbytes was insufficient, and due to that there were cases that No buffer space available occurred from OS side.
vm.legacy_va_layout = 0
vm.lowmem_reserve_ratio = 256 256 32
vm.max_map_count = 65530
vm.memory_failure_early_kill = 0
vm.memory_failure_recovery = 1
vm.min_free_kbytes = 15560 <--------------------
vm.min_slab_ratio = 5
vm.min_unmapped_ratio = 1
vm.mmap_min_addr = 4096
vm.nr_hugepages = 0
vm.nr_hugepages_mempolicy = 0
vm.nr_overcommit_hugepages = 0
As above 15560 was insufficient and it was concluded that vm.min_free_kbytes should be set to 524288.
SOLUTION
This problem has been fixed on 18.2.1.
If the current value is not 524288 but 15560 please follow the steps and modify the value manually.


1. Shutdown the database and clusterware.


As oracle user:
[oracle@XXXXXXX ~]$ srvctl stop database -db xxxx
As root user:
[root@XXXXXXX ~]# crsctl stop crs
2. It is recommended to keep a backup of current sysctl.conf on each node.


3. Follow below steps and update the value of vm.min_free_kbytes on each node:


a) Check the current value
As root user:
[root@XXXXXXX ~]# /sbin/sysctl -a | grep min_free_kbytes
b) Open sysctl.conf with a editor like vi and add following. After that, save the file.
vm.min_free_kbytes = 524288
c) Run following command
As root user:
[root@XXXXXXX ~]# /sbin/sysctl -p
d) Check the current value and confirm the value has been updated.
As root user:
[root@XXXXXXX ~]# /sbin/sysctl -a | grep min_free_kbytes
4. Reboot the nodes one at a time.


5. Validate all cluster and database resources is up
As grid or root user:
[grid@XXXXXXX ~]$ crsctl stat res -t

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2026-7-31 06:37 , Processed in 0.225734 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表