Ioctl ASYNC_CONFIG error故障解決

昨天新遷移的一臺Oracle9i數據庫服務器在$ORACLE_HOME/rdbms/log下產生大量的trace文件(有時候一分鐘有好幾個),具體內容如下:

Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.5.0 - Production
ORACLE_HOME = /oracle/R3P/920_64
System name:    HP-UX
Node name:      r3
Release:        B.11.23
Version:        U
Machine:        ia64
Instance name: R3P
Redo thread mounted by this instance: 0 <none>
Oracle process number: 0
15723

Ioctl ASYNC_CONFIG error, errno = 1

根據metalink的解釋,hp平臺的Oracle數據庫總是使用異步IO而忽略disk_asynch_io和filesystemio_options初始化參數。在沒有正確配置/dev/async文件時,可能會出現上述的故障現象。

下面是Metalink給出的解決方案:

Grant dba group the MLOCK priv to avoid the Ioctl ASYNC_CONFIG trace file errors:

(1) # /usr/sbin/setprivgrp dba MLOCK
(2) # vi /etc/privgroup
This should contain dba MLOCK RTSCHED RTPRIO
(3) # cat /etc/privgroup
dba MLOCK RTSCHED RTPRIO

設置了MLOCK系統權限後,故障現象消失。

參考文檔
metalink Note:302801.1

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