当前位置: 首页 > news >正文

ORA-00600: internal error code, arguments: [kgl-no-mutex-held]

一.环境
   windows
   oracle 11.2.0.4  RAC 

二.问题现象
  1.连接数据库后,无法查询
  2.报错信息:ORA-00600: internal error code, arguments: [600], [ORA-00600: internal error code, arguments: [kgl-no-mutex-held], [0x1243958F20], [kglobf0], [0xF12D8D0B0], [], [], [], [], [], [], [], []

三.问题定位 
  通过alert日志 找到发生问题的最初时间点。信息如下:
    ORA-1688: unable to extend table SYS.WRH$_ACTIVE_SESSION_HISTORY partition WRH$_ACTIVE_2596570560_0 by 128 in                 tablespace SYSAUX 
    ORA-1688: unable to extend table SYS.WRH$_ACTIVE_SESSION_HISTORY partition WRH$_ACTIVE_2596570560_0 by 8192 in                 tablespace SYSAUX 
    Fri Nov 17 15:17:56 2017
    Errors in file D:\APP\ADMINISTRATOR\diag\rdbms\oradb\oradb1\trace\oradb1_ora_23236.trc  (incident=1391697):
    ORA-00600: 内部错误代码, 参数: [kghfrmrg:nxt], [0xF12C5F000], [], [], [], [], [], [], [], [], [], []
    Incident details in: D:\APP\ADMINISTRATOR\diag\rdbms\oradb\oradb1\incident\incdir_1391697\oradb1_ora_23236_i1391697.trc
    Use ADRCI or Support Workbench to package the incident.
    See Note 411.1 at My Oracle Support for error and packaging details.
    Fri Nov 17 15:18:39 2017
    Dumping diagnostic data in directory=[cdmp_20171117151839], requested by (instance=1, osid=23236), summary=[incident=1391697].
    Fri Nov 17 15:18:40 2017
    Sweep [inc][1391697]: completed
    Sweep [inc2][1391697]: completed
    Fri Nov 17 15:19:55 2017
    Exception [type: ACCESS_VIOLATION, UNABLE_TO_READ] [ADDR:0x0] [PC:0x140D39A89, kxsGetRuntimeLock()+259]
    Errors in file D:\APP\ADMINISTRATOR\diag\rdbms\oradb\oradb1\trace\oradb1_ora_20684.trc  (incident=1391761):
    ORA-07445: 出现异常错误: 核心转储 [kxsGetRuntimeLock()+259] [ACCESS_VIOLATION] [ADDR:0x0] [PC:0x140D39A89] [UNABLE_TO_READ] []
    Incident details in: D:\APP\ADMINISTRATOR\diag\rdbms\oradb\oradb1\incident\incdir_1391761\oradb1_ora_20684_i1391761.trc
    Use ADRCI or Support Workbench to package the incident.
    See Note 411.1 at My Oracle Support for error and packaging details.
    Fri Nov 17 15:19:57 2017
    Dumping diagnostic data in directory=[cdmp_20171117151957], requested by (instance=1, osid=20684), summary=[incident=1391761].
    Fri Nov 17 15:19:59 2017
    Sweep [inc][1391761]: completed
    Sweep [inc2][1391761]: completed
    Fri Nov 17 15:20:58 2017
    SMON: Parallel transaction recovery tried
    Fri Nov 17 15:28:39 2017
    Exception [type: ACCESS_VIOLATION, UNABLE_TO_READ] [ADDR:0x68] [PC:0xD698A6, kghalo()+40]
    Errors in file D:\APP\ADMINISTRATOR\diag\rdbms\oradb\oradb1\trace\oradb1_ora_14992.trc  (incident=1391769):
    ORA-07445: 出现异常错误: 核心转储 [kghalo()+40] [ACCESS_VIOLATION] [ADDR:0x68] [PC:0xD698A6] [UNABLE_TO_READ] []
    Incident details in: D:\APP\ADMINISTRATOR\diag\rdbms\oradb\oradb1\incident\incdir_1391769\oradb1_ora_14992_i1391769.trc
    Use ADRCI or Support Workbench to package the incident.
    See Note 411.1 at My Oracle Support for error and packaging details.
    Fri Nov 17 15:28:41 2017
    Dumping diagnostic data in directory=[cdmp_20171117152841], requested by (instance=1, osid=14992), summary=[incident=1391769].
    Fri Nov 17 15:28:42 2017
    Sweep [inc][1391769]: completed
    Sweep [inc2][1391769]: completed
    Fri Nov 17 15:29:21 2017
    SMON: Parallel transaction recovery tried
    Fri Nov 17 15:29:43 2017
    ORA-1652: unable to extend temp segment by 128 in tablespace                 TEMP 
    Fri Nov 17 15:37:00 2017
    ORA-1652: unable to extend temp segment by 128 in tablespace                 TEMP 
    Fri Nov 17 15:44:02 2017
    ORA-1652: unable to extend temp segment by 128 in tablespace                 TEMP 
    Fri Nov 17 16:16:41 2017
    Errors in file D:\APP\ADMINISTRATOR\diag\rdbms\oradb\oradb1\trace\oradb1_ora_23712.trc  (incident=1391841):
    ORA-00600: 内部错误代码, 参数: [17112], [0xF12DA8F80], [], [], [], [], [], [], [], [], [], []
    Incident details in: D:\APP\ADMINISTRATOR\diag\rdbms\oradb\oradb1\incident\incdir_1391841\oradb1_ora_23712_i1391841.trc
    Use ADRCI or Support Workbench to package the incident.
    See Note 411.1 at My Oracle Support for error and packaging details.
    Fri Nov 17 16:16:44 2017
    Dumping diagnostic data in directory=[cdmp_20171117161644], requested by (instance=1, osid=23712), summary=[incident=1391841].
    Fri Nov 17 16:16:46 2017
    Sweep [inc][1391841]: completed
    Sweep [inc2][1391841]: completed
    Fri Nov 17 16:26:45 2017
    Errors in file D:\APP\ADMINISTRATOR\diag\rdbms\oradb\oradb1\trace\oradb1_ora_24872.trc  (incident=1391785):
    ORA-00600: 内部错误代码, 参数: [kgl-no-mutex-held], [0x1243958F20], [kglobf0], [0xF12D8D0B0], [], [], [], [], [], [], [], []
    Incident details in: D:\APP\ADMINISTRATOR\diag\rdbms\oradb\oradb1\incident\incdir_1391785\oradb1_ora_24872_i1391785.trc
    Fri Nov 17 16:26:46 2017
  
    猜测,可能是系统表空间不足,触发的bug。

四.解决思路
    1.清理 SYS.WRH$_ACTIVE_SESSION_HISTORY
    2.向系统表空间增加文件
    在数据库当前状态,以上两个方案均无法实施。
    3.尝试重启数据库实例,集群服务不动。启动过程中oracle做了大量的清理工作:
        Sweep [inc][1401010]: completed
        Sweep [inc][1401010]: completed
        Sweep [inc][1401009]: completed
        Sweep [inc][1401003]: completed
        Sweep [inc][1401001]: completed
        Sweep [inc][1400987]: completed
        Sweep [inc][1400977]: completed
        Sweep [inc][1400974]: completed
        Sweep [inc][1400973]: completed
        猜测是在清理表空间
        
    4.再次连接测试,数据库恢复正常。重启后系统表空间SYSAUX释放了近20G的空间。
      

 

转载于:https://www.cnblogs.com/polestar/p/7903280.html

相关文章:

  • exp之compress到底在压缩什么
  • 数据库的独立子查询以及数据的删除、更新和建立视图的笔记
  • 让每次弹出的div随页面的卷动而保持相对位置不变
  • 课后作业-阅读任务-阅读笔记-4
  • connect by level语法的理解
  • echarts 重新渲染(重新绘制,重新加载数据)等
  • 【转】如何恶搞朋友的电脑?超简单的vbs代码
  • 如何访问dashed filename
  • 超简洁的jquery操作页面中iframe内的dom元素
  • maven使用阿里镜像配置文件
  • 办理护照
  • h5混合开发好用的下拉刷新插件
  • 商务签证的准备(1)
  • 开启MySQL远程访问权限 允许远程连接
  • C#脚本实践(三): 集成到游戏
  • 0基础学习移动端适配
  • 77. Combinations
  • Dubbo 整合 Pinpoint 做分布式服务请求跟踪
  • Java 23种设计模式 之单例模式 7种实现方式
  • javascript数组去重/查找/插入/删除
  • MySQL常见的两种存储引擎:MyISAM与InnoDB的爱恨情仇
  • spring security oauth2 password授权模式
  • yii2权限控制rbac之rule详细讲解
  • 持续集成与持续部署宝典Part 2:创建持续集成流水线
  • 构建工具 - 收藏集 - 掘金
  • 前端_面试
  • 通过获取异步加载JS文件进度实现一个canvas环形loading图
  • 为视图添加丝滑的水波纹
  • 项目管理碎碎念系列之一:干系人管理
  • 一、python与pycharm的安装
  • 函数计算新功能-----支持C#函数
  • 通过调用文摘列表API获取文摘
  • ​油烟净化器电源安全,保障健康餐饮生活
  • # 20155222 2016-2017-2 《Java程序设计》第5周学习总结
  • ###51单片机学习(2)-----如何通过C语言运用延时函数设计LED流水灯
  • ###项目技术发展史
  • #includecmath
  • (3)选择元素——(17)练习(Exercises)
  • (4) openssl rsa/pkey(查看私钥、从私钥中提取公钥、查看公钥)
  • (Repost) Getting Genode with TrustZone on the i.MX
  • (搬运以学习)flask 上下文的实现
  • (板子)A* astar算法,AcWing第k短路+八数码 带注释
  • (超简单)构建高可用网络应用:使用Nginx进行负载均衡与健康检查
  • (第27天)Oracle 数据泵转换分区表
  • (二)Pytorch快速搭建神经网络模型实现气温预测回归(代码+详细注解)
  • (附源码)ssm跨平台教学系统 毕业设计 280843
  • (每日持续更新)jdk api之FileReader基础、应用、实战
  • (免费领源码)Python#MySQL图书馆管理系统071718-计算机毕业设计项目选题推荐
  • (七)c52学习之旅-中断
  • (转)Android学习系列(31)--App自动化之使用Ant编译项目多渠道打包
  • (转载)Google Chrome调试JS
  • .Net IOC框架入门之一 Unity
  • .net mvc actionresult 返回字符串_.NET架构师知识普及
  • .Net Web项目创建比较不错的参考文章
  • .NET 中 GetProcess 相关方法的性能