os: centos 7.4
db: oracle 12.2.0.1

规划如下:

testcluster1-scan.peiyongbin.com
192.168.56.141
192.168.56.142
192.168.56.143node1                         node2vip   192.168.56.131                  192.168.56.132pub(eth0)   192.168.56.121                  192.168.56.122
priv(eth1)   192.168.156.121                 192.168.156.122
priv(eth2)   192.168.156.131                 192.168.156.132

问题

通过 sqlplus 连接到 rdbms 实例,提示实例未启动,随后 startup,但是报错

# su - oracle
$ echo $ORACLE_SID
orcl01$ ps -fu oracle |sort
oracle   12187     1  0 Apr26 ?        00:00:40 ora_pmon_orcl01
oracle   12191     1  0 Apr26 ?        00:01:02 ora_psp0_orcl01
oracle   12207     1  2 Apr26 ?        01:02:04 ora_vktm_orcl01
oracle   12216     1  0 Apr26 ?        00:00:15 ora_gen0_orcl01
oracle   12220     1  0 Apr26 ?        00:00:05 ora_mman_orcl01
oracle   12228     1  0 Apr26 ?        00:03:10 ora_diag_orcl01
oracle   12232     1  0 Apr26 ?        00:00:56 ora_dbrm_orcl01
oracle   12236     1  0 Apr26 ?        00:03:49 ora_vkrm_orcl01
oracle   12240     1  0 Apr26 ?        00:00:30 ora_ping_orcl01
oracle   12244     1  0 Apr26 ?        00:00:04 ora_acms_orcl01
oracle   12248     1  0 Apr26 ?        00:18:50 ora_dia0_orcl01$ sqlplus / as sysdba;SQL*Plus: Release 12.1.0.2.0 Production on Sun Apr 28 08:40:33 2019Copyright (c) 1982, 2014, Oracle.  All rights reserved.Connected to an idle instance.SQL> startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DG_DATA01/orcl0/spfileorcl0.ora'
ORA-17503: ksfdopn:2 Failed to open file +DG_DATA01/orcl0/spfileorcl0.ora
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

切换到 grid 查看

# su - grid
$ echo $ORACLE_SID
+ASM1$ sqlplus / as sysasmSQL*Plus: Release 12.1.0.2.0 Production on Sun Apr 28 08:45:54 2019Copyright (c) 1982, 2014, Oracle.  All rights reserved.Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management optionsSQL> show parameter memory;NAME                    TYPE    VALUE
------------------------------------ ----------- ------------------------------
memory_max_target            big integer 1076M
memory_target                big integer 1076M
$ crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DG_DATA01.dgONLINE  ONLINE       node1                    STABLEONLINE  ONLINE       node2                    STABLE
ora.DG_FRA.dgONLINE  ONLINE       node1                    STABLEONLINE  ONLINE       node2                    STABLE
ora.LISTENER.lsnrONLINE  ONLINE       node1                    STABLEONLINE  ONLINE       node2                    STABLE
ora.asmONLINE  ONLINE       node1                    Started,STABLEONLINE  ONLINE       node2                    Started,STABLE
ora.net1.networkONLINE  ONLINE       node1                    STABLEONLINE  ONLINE       node2                    STABLE
ora.onsONLINE  ONLINE       node1                    STABLEONLINE  ONLINE       node2                    STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr1        ONLINE  ONLINE       node2                    STABLE
ora.LISTENER_SCAN2.lsnr1        ONLINE  ONLINE       node1                    STABLE
ora.LISTENER_SCAN3.lsnr1        ONLINE  ONLINE       node1                    STABLE
ora.MGMTLSNR1        ONLINE  ONLINE       node1                    169.254.123.21 192.168.156.131 192.168.156.121,STABLE
ora.cvu1        ONLINE  ONLINE       node1                    STABLE
ora.mgmtdb1        ONLINE  ONLINE       node1                    Open,STABLE
ora.node1.vip1        ONLINE  ONLINE       node1                    STABLE
ora.node2.vip1        ONLINE  ONLINE       node2                    STABLE
ora.oc4j1        ONLINE  ONLINE       node1                    STABLE
ora.orcl0.db1        ONLINE  ONLINE       node1                    Open,STABLE2        ONLINE  ONLINE       node2                    Open,STABLE
ora.scan1.vip1        ONLINE  ONLINE       node2                    STABLE
ora.scan2.vip1        ONLINE  ONLINE       node1                    STABLE
ora.scan3.vip1        ONLINE  ONLINE       node1                    STABLE
--------------------------------------------------------------------------------

分析

查看 alert_orcl01.log 日志


Sat Apr 27 01:30:08 2019
skgxpvfynet: mtype: 61 process 16114 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/orcl0/orcl01/trace/orcl01_ora_16115.trc  (incident=38427):
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
Sat Apr 27 01:30:08 2019
opiodr aborting process unknown ospid (16115) as a result of ORA-603
Errors in file /u01/app/oracle/diag/rdbms/orcl0/orcl01/trace/orcl01_ora_16114.trc  (incident=38428):
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: sskgxpsnd2Sat Apr 27 04:44:41 2019
skgxpvfynet: mtype: 61 process 25588 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/orcl0/orcl01/trace/orcl01_m000_25588.trc  (incident=38429):
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
opidrv aborting process M000 ospid (25588) as a result of ORA-603Sat Apr 27 06:34:20 2019
skgxpvfynet: mtype: 61 process 5653 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/orcl0/orcl01/trace/orcl01_m000_5653.trc  (incident=38430):
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
opidrv aborting process M000 ospid (5653) as a result of ORA-603
Sat Apr 27 06:34:22 2019
Process m000 died, see its trace file
Sat Apr 27 06:34:27 2019
skgxpvfynet: mtype: 61 process 5672 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/orcl0/orcl01/trace/orcl01_m001_5672.trc  (incident=38431):
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
opidrv aborting process M001 ospid (5672) as a result of ORA-603
Process m001 died, see its trace file
Sat Apr 27 06:34:56 2019
skgxpvfynet: mtype: 61 process 5780 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/orcl0/orcl01/trace/orcl01_j001_5780.trc  (incident=38432):
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
opidrv aborting process J001 ospid (5780) as a result of ORA-603
Sat Apr 27 06:34:58 2019
Process J001 died, see its trace file
Sat Apr 27 06:34:58 2019
kkjcre1p: unable to spawn jobq slave process
Sat Apr 27 06:34:58 2019
Errors in file /u01/app/oracle/diag/rdbms/orcl0/orcl01/trace/orcl01_cjq0_12778.trc:Sat Apr 27 16:26:51 2019
Process m000 died, see its trace file
Process m000 died, see its trace file
Process m000 died, see its trace file
Process m000 died, see its trace fileSat Apr 27 16:29:50 2019
kkjcre1p: unable to spawn jobq slave process
Sat Apr 27 16:29:50 2019
Errors in file /u01/app/oracle/diag/rdbms/orcl0/orcl01/trace/orcl01_cjq0_12778.trc:
Process J000 died, see its trace file
Sat Apr 27 16:29:52 2019
kkjcre1p: unable to spawn jobq slave process
Sat Apr 27 16:29:52 2019
Errors in file /u01/app/oracle/diag/rdbms/orcl0/orcl01/trace/orcl01_cjq0_12778.trc:
Process m000 died, see its trace file
Process J000 died, see its trace file
SQL> startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DG_DATA01/orcl0/spfileorcl0.ora'
ORA-17503: ksfdopn:2 Failed to open file +DG_DATA01/orcl0/spfileorcl0.ora
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

查看文档后需要做如下调整:

  1. 增加 vm.min_free_kbytes 参数,值为物理内存的0.4%。(例如8g内存,vm.min_free_kbytes=810241024*0.004=33554)
  2. 修改 lo mtu 为 16436 .临时修改 ifconfig lo mtu 16436 或者永久修改 vi /etc/sysconfig/network-scripts/ifcfg-lo 的 MTU=16436

参考:

ORA-27301: OS failure message: No buffer space available相关推荐

  1. Alert 日志报错:ORA-2730x OS Failure Message: No Buffer Space Available

    前言 今天巡检遇到数据库报错 ORA-2730x 错误,数据库版本为Oracle 11204 (x86_64),错误日志如下: ORA-00603: ORACLE server session ter ...

  2. java 链接占用太多_Java程序链接数过多导致java.net.SocketException: No buffer space available问题...

    发布时间: Aug 29, 2020 更新时间: Aug 29, 2020 总字数:482 阅读时间:1m 作者: 谢先斌 Java程序链接数过多导致java.net.SocketException: ...

  3. WSAENOBUFS: No buffer space available in SAP

    You are getting the error "WSAENOBUFS: No buffer space available " when trying to connect ...

  4. No buffer space available

    2019独角兽企业重金招聘Python工程师标准>>> Java项目报错: [http-8080-2]org.hibernate.util.JDBCExceptionReporter ...

  5. java.net.SocketException:No buffer space avaliable(maximum connection reached?):JVM_Bind 解决办法...

    No buffer space available 2009-06-15 14:03 java.net.SocketException: No buffer space available (maxi ...

  6. 为什么会存在TIME_WAIT socket-详细分析No buffer space available

    新年上班第一天,突然遇到一个socket连接No buffer space available的问题,导致接口大面积调用(webservice,httpclient)失败的问题,重启服务器后又恢复了正 ...

  7. 程序网络访问出错:lacked sufficient buffer space

    为什么80%的码农都做不了架构师?>>>    之前在用Go语言做一个批量程序时出现在下错误 dial tcp 127.0.0.1:80: An operation on a soc ...

  8. An operation on a socket could not be performed because the system lacked sufficient buffer space or

    dkron (dkron 是一个定时任务执行系统,可以将所有的定时任务写成接口形式,用这个定时任务系统统一管理)定时任务所有的定时任务都不执行了,启动不了,查看日志报错: An operation o ...

  9. 解决报错:sufficient buffer space or because a queue was full

    An operation on a socket could not be performed because the system lacked sufficient buffer space or ...

最新文章

  1. uniapp 的使用
  2. Android系统Google Maps开发实例浅析
  3. NIS服务器介绍及搭建
  4. 【专题六】虚拟化实施人才和培训的瓶颈如何解决? ——虚拟化人才逆势抢手 5项技能最关键...
  5. Java下利用Jackson进行JSON解析和序列化
  6. centos7 安装图形界面、VNCserver
  7. TODO-MVP-Loaders源码体验
  8. 垃圾收集器–串行,并行,CMS,G1(以及Java 8中的新增功能)
  9. JavaFX 2.0布局窗格– FlowPane和TilePane
  10. python中if语句的实例_Python基础入门-IF语句
  11. Bert油管视频学习
  12. 【计算机原理与接口技术(UNIX)⑱】——并行 I/O 接口 [ 芯片8255A ]
  13. MyEclipse设置字体格式和大小,及字体推荐
  14. 阿里云 远程mysql_阿里云远程mysql
  15. VTL:图形基本操作进阶——多分辨率策略(模型抽取的三种方法)
  16. ROS+UR机械臂+Moveit+ 仿真与实体机械臂的使用+realsense相机+eye_handeye手眼标定(亲测有效)下
  17. 开源 区块链_区块链将如何影响开源
  18. ubuntu16.04安装intel集显驱动过程问题总结
  19. cocos2dx 更改帧频
  20. 施工企业物资管理软件

热门文章

  1. Errors during downloading metadata for repository ‘AppStream‘: - Status code: 404 for http://mirro
  2. 个人计算机市场排行,2017中国市场50款笔记本电脑排行榜
  3. 小学生python编程写游戏_教你如何像玩游戏一样学Python
  4. 【听课笔记】复旦大学遗传学_02非孟德尔遗传+数量性状遗传
  5. python之批量下载网页数据
  6. win10下VMware安装CentOS7并配置网络
  7. 使用python做协整模型分析并进行残差检验
  8. 关于三代基因测序,你所需要知道的都在这儿!
  9. 7、KSQL刨根问底和实战操作教程
  10. python中breakpoint什么意思_breakpoint() Python 内置函数