Oracle Linux网卡参数默认设置导致ORA-603
环境:OEL6.8,ORACLE 11.2.0.4 双节点RAC
节点2 alert日志报错信息如下:
Fri Nov 24 09:11:42 2017
skgxpvfynet: mtype: 61 process 11799 failed because of a resource problem in the OS. The OS has most likely run out of buffers (rval: 4)
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl2/trace/orcl2_ora_11799.trc (incident=123381):
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
Incident details in: /u01/app/oracle/diag/rdbms/orcl/orcl2/incident/incdir_123381/orcl2_ora_11799_i123381.trc
Fri Nov 24 09:11:42 2017
skgxpvfynet: mtype: 61 process 11801 failed because of a resource problem in the OS. The OS has most likely run out of buffers (rval: 4)
opiodr aborting process unknown ospid (11743) as a result of ORA-603
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl2/trace/orcl2_ora_11801.trc (incident=123382):
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
Incident details in: /u01/app/oracle/diag/rdbms/orcl/orcl2/incident/incdir_123382/orcl2_ora_11801_i123382.trc
Dumping diagnostic data in directory=[cdmp_20171124091142], requested by (instance=2, osid=11743), summary=[incident=123380].
trace文件
#/u01/app/oracle/diag/rdbms/orcl/orcl2/trace/orcl2_ora_11799.trc
*** 2017-11-24 09:11:42.123
*** CLIENT ID:() 2017-11-24 09:11:42.123
*** SERVICE NAME:() 2017-11-24 09:11:42.123
*** MODULE NAME:() 2017-11-24 09:11:42.123
*** ACTION NAME:() 2017-11-24 09:11:42.123
SKGXP:[7fbcc2bfda88.0]{0}: SKGXPVFYNET: Socket self-test could not verify successful transmission of 32768 bytes (mtype 61).
SKGXP:[7fbcc2bfda88.1]{0}: The network is required to support UDP protocol sends of this size. Socket is bound to 169.254.188.234.
SKGXP:[7fbcc2bfda88.2]{0}: phase ‘send’, 0 tries, 100 loops, 4905 ms (last)
struct ksxpp * ksxppg_ [0xc122540, 0x7fbcc2995310) = 0x7fbcc2995308
Dump of memory from 0x00007FBCC2995308 to 0x00007FBCC2996838
/u01/app/oracle/diag/rdbms/orcl/orcl2/incident/incdir_123381/orcl2_ora_11799_i123381.trc
Dump continued from file: /u01/app/oracle/diag/rdbms/orcl/orcl2/trace/orcl2_ora_11799.trc
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 occurr
#========= Dump for incident 123381 (ORA 603) ========
经查MOS(Oracle Linux: ORA-27301:OS Failure Message: No Buffer Space Available (文档 ID 2041723.1),发现可能是因为网卡的MUT参数设置过高导致网卡的缓存不足导致的。
CAUSE
This happens due to less space available for network buffer reservation.
SOLUTION
- On servers with High Physical Memory, the parameter vm.min_free_kbytes should be set in the order of 0.4% of total
Physical Memory. This helps in keeping a larger range of defragmented memory pages available for network buffers
reducing the probability of a low-buffer-space conditions.
*** For example, on a server which is having 256GB RAM, the parameter vm.min_free_kbytes should be set to 1048576 ***
On NUMA Enabled Systems, the value of vm.min_free_kbytes should be multiplied by the number of NUMA nodes since the value
is to be split across all the nodes.
On NUMA Enabled Systems, the value of vm.min_free_kbytes = n * 0.4% of total Physical Memory. Here ‘n’ is the
number of NUMA nodes.
- Additionally, the MTU value should be modified as below
#ifconfig lo mtu 16436
To make the change persistent over reboot add the following line in the file /etc/sysconfig/network-scripts/ifcfg-lo :
MTU=16436
Save the file and restart the network service to load the changes
#service network restart
这应该是OEL操作系统专属的错误,对比OEL、RHEL、CentOS系统,发现只有OEL系统网卡本地回环的MTU是65536,其他系统均是16436,而MOS上的解决方案是将网卡本地回环的MTU改为16436。这台服务器网卡本地回环的MTU当前设置如下:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1193604960 errors:0 dropped:0 overruns:0 frame:0
TX packets:1193604960 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:498857656538 (464.5 GiB) TX bytes:498857656538 (464.5 GiB)
当前服务器网卡本地回环的MTU默认设置是65536,按照MOS文档的方法修改这个设置。
ifconfig lo mtu 16436
这个命令将修改内存中网卡的参数,直接生效。
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1193606824 errors:0 dropped:0 overruns:0 frame:0
TX packets:1193606824 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:498858566038 (464.5 GiB) TX bytes:498858566038 (464.5 GiB)
但是重启后将恢复默认值,如果保证重启也生效,就需要修改网卡的配置文件。
vi /etc/sysconfig/network-scripts/ifcfg-lo
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
If you’re having problems with gated making 127.0.0.0/8 a martian,
you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
MTU=16436
Oracle Linux网卡参数默认设置导致ORA-603相关推荐
- Oracle数据库REMOTE_LOGIN_PASSWORDFILE参数的设置
关于Oracle数据库REMOTE_LOGIN_PASSWORDFILE参数的设置 Oracle的实用程序orapwd命令可以用来创建口令文件,该命令的参数有3个: C:/>orapwd Usa ...
- oracle nls_lang gbk,Oracle客户端NLS_LANG参数的设置详解
我们知道,Oracle客户端语言支持可以通过NLS_LANG参数的设置来完成,不同的系统平台上NLS_LANG参数的设置会有所不同.本文我们首先介绍了NLS_LANG参数的构成,然后介绍了Oracle ...
- AIX7.1 VMO 参数默认设置
AIX 5.3 AIX6.1 到 AIX7.1 几乎所有的Oraclec 内存参数已经不用DBA 或 SA 手动设置就直接可以安装Oracle 10g /11g RAC 了. 下面是AIX7.1 VM ...
- 无盘服务器网卡参数怎么设置,无盘网吧网卡参数设置建议
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 分区用途 簇大小(KB) 按照要求设置的好处 镜像盘或分区 4096 提升无盘客户机启动速度稳定性 游戏盘或分区 64K 提高虚拟盘出盘速度 回写盘或分区 ...
- linux 网卡多队列设置,网卡多队列
REF 简单命令 推荐使用较新的 Linux 发行版(如 CentOS 7.2)配置网卡多队列. 这里以 CentOS 7.2 为例介绍如何配置网卡多队列,假设是 2 个队列,网卡 interface ...
- linux设置默认启动桌面或是命令行,使用一个命令重置 Linux 桌面为默认设置
前段时间,我们分享了一篇关于 Resetter 的文章 -- 这是一个有用的软件,可以在几分钟内将 Ubuntu 重置为出厂默认设置.使用 Resetter,任何人都可以轻松地将 Ubuntu 重置为 ...
- linux设置壁纸命令,桌面应用|使用一个命令重置 Linux 桌面为默认设置
前段时间,我们分享了一篇关于 Resetter 的文章 -- 这是一个有用的软件,可以在几分钟内将 Ubuntu 重置为出厂默认设置.使用 Resetter,任何人都可以轻松地将 Ubuntu 重置为 ...
- 设置linux默认桌面,使用一个命令重置Linux桌面为默认设置
前段时间,我们分享了一篇关于 Resetter 的文章 -- 这是一个有用的软件,可以在几分钟内将 Ubuntu 重置为出厂默认设置.使用 Resetter,任何人都可以轻松地将 Ubuntu 重置为 ...
- Virtualbox6.1 SATA控制器默认设置导致jbd2低效磁盘访问
在Ubuntu20.04桌面环境中,我安装了Virtualbox6.1虚拟机环境,并新增了Ubuntu18.04 Server的虚拟机玩玩 在Ubuntu18.04虚拟机中,安装软件资源时,总是耗费比 ...
最新文章
- Spark Streaming揭秘 Day9 从Receiver的设计到Spark框架的扩展
- excel两个下拉框相互关联
- 工信部明确公共互联网网络安全突发事件分级预警、应急
- sublime无法输入中文(转)
- role cache - set data user parameter - /UI2/CACHE_DISABLE
- Today's my MDX...
- php如何制定跳转到app原生页面,js实现界面向原生界面发消息并跳转功能
- Java关键字finally
- python中字符串之间的比较_如何利用python来对比两个字符串的差异
- clone oracle ebs
- MySQL text类型的最大长度
- HDU 1222 Wolf and Rabbit(gcd)
- vivo手机解锁工具_vivo正式官宣APEX 2020概念手机!或将实现全面屏指纹解锁
- 为什么回归直线过平均值点_线性回归和梯度下降的初学者教程
- 代码整洁之道读书笔记----第一章---综述--第一节-混乱代码和华丽的新系统
- android手机怎么改字体,手机字体怎么改 安卓手机字体修改教程
- 特斯拉如何饕餮中国红利?
- android怎么垂直居中,【Android】水平居中 垂直居中 中心居中
- 苹果手机无法解析html,苹果手机故障全解析
- element ui实现抽屉效果_如何给element添加一个抽屉组件
热门文章
- usart hmi(串口屏)介绍
- 超文本传输协议HTTP
- ios 自定义滑杆
- 京东云 linux无法远程,问题解读 | Linux系统SSH无法远程登录时该怎么办?这里有篇小攻...
- 小白必看 APN/证书/越狱等名词详解
- unity3d技术摄像头跟随_unity 3d 中摄像头跟随人物移动总结
- 严格执行系统,严格止损,不要心存侥幸,勇敢承认错误,不给自己的错误找理由。
- 《网络是这样连接的》读书笔记2
- 利用python将长视频、长语音转换成文字教程 ,非常好用
- dhtml gantt所有配置_Dhtmlx-Gantt基本用法