ORACLE系統出現大量的TRC文件解決一例

今天用戶抱怨系統掛起了,到用戶處檢查發現,是TRACE文件太大,有20G了,經檢查,發現TRACE文件內容中,都是一下內容:
Ioctl ASYNC_CONFIG error, errno = 1

 

這個問題以前遇到過,是異步IO設置的問題,特別是在HPUX系統上,而用戶正好是HPUX 11.31,ORACLE 11G R2 RAC

於是這個問題,通過以下方式即可解決:

 

  查看/etc/privgroup文件是否存在,如果不存在創建這個文件,並添加如下內容:
  dba MLOCK RTSCHED RTPRIO

  #分配權限給/etc/privgroup
  setprivgrp -f /etc/privgroup



附 TRC文件內容:

wlsvr1b-> more timms2_ora_2202.trc
Trace file /oracle/app/oracle/diag/rdbms/timms/timms2/trace/timms2_ora_2202.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1
System name:    HP-UX
Node name:      wlsvr1b
Release:        B.11.31
Version:        U
Machine:        ia64
Instance name: timms2
Redo thread mounted by this instance: 2
Oracle process number: 0
Unix process pid: 2202, image: oracle@wlsvr1b


*** 2011-04-25 08:38:39.094
Ioctl ASYNC_CONFIG error, errno = 1
Ioctl ASYNC_CONFIG error, errno = 1
Ioctl ASYNC_CONFIG error, errno = 1
Trace file /oracle/app/oracle/diag/rdbms/timms/timms2/trace/timms2_ora_2202.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1
System name:    HP-UX
Node name:      wlsvr1b
Release:        B.11.31
Version:        U
Machine:        ia64
Instance name: timms2
Redo thread mounted by this instance: 2
Oracle process number: 0
Unix process pid: 2202, image: oracle@wlsvr1b


*** 2011-04-26 15:48:40.422
Ioctl ASYNC_CONFIG error, errno = 1
Ioctl ASYNC_CONFIG error, errno = 1
Ioctl ASYNC_CONFIG error, errno = 1


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章