10.2.0.1監聽子程式導致資料庫不能響應
又有使用者電話因為這個bug導致資料庫hang住,把metalink上的文件粘到這。
Intermittent TNS Listener Hang, New Child Listener Process Forked [ID 340091.1]
--------------------------------------------------------------------------------
Modified 03-JUN-2011 Type ALERT Status PUBLISHED
Modified 03-JUN-2011 Type ALERT Status PUBLISHED
In this Document
Description
Likelihood of Occurrence
Possible Symptoms
Workaround or Resolution
Patches
Modification History
References
Description
Likelihood of Occurrence
Possible Symptoms
Workaround or Resolution
Patches
Modification History
References
--------------------------------------------------------------------------------
Applies to:
Oracle Net Services - Version: 10.1.0.3.0 to 10.2.0.2.0 - Release: 10.1 to 10.2
Information in this document applies to any platform.
All new connections via TNS listener hang, no errors reported
Oracle Net Services - Version: 10.1.0.3.0 to 10.2.0.2.0 - Release: 10.1 to 10.2
Information in this document applies to any platform.
All new connections via TNS listener hang, no errors reported
Checked for relevance on 05-FEB-2010.
Description
Intermittently the TNS listener hangs and new connections to the database are not possible.
Description
Intermittently the TNS listener hangs and new connections to the database are not possible.
Likelihood of Occurrence
The issue is that the TNS listener can hang under load if a second spawned listener process is not closed (remains persistent). Secondary listener processes are not unusual, depending on traffic as well as when the OS grep snapshot is taken. However, a persistent secondary process (longer than say 5 second) is not normal and may be a result of this referenced problem.
The issue is that the TNS listener can hang under load if a second spawned listener process is not closed (remains persistent). Secondary listener processes are not unusual, depending on traffic as well as when the OS grep snapshot is taken. However, a persistent secondary process (longer than say 5 second) is not normal and may be a result of this referenced problem.
TNS listener can hang at any time and effect standalone or RAC systems
Possible Symptoms
Listener process can also consume high amount of CPU
Listener process can also consume high amount of CPU
Child TNS listener process is seen when doing a ps on the listener process, eg.:
$ ps -ef | grep tnslsnr
ora10g 8909 1 0 Sep 15 ? 902:44 /u05/10GHOME/DBHOME/bin/tnslsnr sales -inherit
ora10g 22685 8909 0 14:19:23 ? 0:00 /u05/10GHOME/DBHOME/bin/tnslsnr sales -inherit
ora10g 22685 8909 0 14:19:23 ? 0:00 /u05/10GHOME/DBHOME/bin/tnslsnr sales -inherit
Killing the child process allows new connections to work until the problem reoccurs
Workaround or Resolution
Issue is fixed in 10.2.0.3 Patch Set
Oracle Support recommends patching to 10.2.0.5 as this the lastest release
Oracle Support recommends patching to 10.2.0.5 as this the lastest release
- OR -
Apply Patch 4518443 for the problem (if a patch is available)
- OR -
As a workaround, two steps should be done:
1. The following parameter can be added to listener.ora
SUBSCRIBE_FOR_NODE_DOWN_EVENT_
Where
For example, if the listener name is LISTENER (default), the parameter would be:
SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF
2. Locate the ons.config file in the 10g(rdbms) home and rename it to something else.
For example:
cd $ORACLE_HOME/opmn/conf
mv ons.config ons.config.orig
For example:
cd $ORACLE_HOME/opmn/conf
mv ons.config ons.config.orig
The listener needs to be restarted after these changes.
This will both prevent the listener from registering against ONS (Oracle Notification Services), which is the area affected by bug:4518443, as well as disable ONS itself. For more information on ONS, please refer to the specific Oracle documentation, for example, for 10.2, see the Oracle10g Release 2 Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide.
Please note, that adding the SUBSCRIBE_FOR_NODE_DOWN_EVENT_ to listener.ora file on RAC and disabling the ONS file, will mean that FAN (fast application notification) will not be possible. See Note 220970.1 RAC: Frequently Asked Questions for further information on FAN. Therefore, if you have a RAC configuration, then apply the patch and do not disable ONS or FAN.
Also, please note that this might happen with ANY 10g installation, whether it is RAC related or not, and whether there is an Oracle Application installation or not.
Patches
Apply Patch 4518443 for the problem (if a patch is available)
Apply Patch 4518443 for the problem (if a patch is available)
Modification History
References
Related
--------------------------------------------------------------------------------
Products
--------------------------------------------------------------------------------
Products
--------------------------------------------------------------------------------
?Oracle Database Products > Oracle Database > Net Services > Oracle Net Services
Keywords
--------------------------------------------------------------------------------
HIGH CPU USAGE; INTERMITTENT; LISTENER HANGS; NOTIFICATION SERVICES; SERVICES; TNSLSNR
Keywords
--------------------------------------------------------------------------------
HIGH CPU USAGE; INTERMITTENT; LISTENER HANGS; NOTIFICATION SERVICES; SERVICES; TNSLSNR
Back to top
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/13337857/viewspace-713715/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 監聽狀態正常,但是資料庫不能連線,提示沒有監聽....資料庫
- Oracle資料庫非同步IO導致查詢響應緩慢Oracle資料庫非同步
- ASM磁碟組故障導致資料庫不能起來ASM資料庫
- Oracle資料庫監聽Oracle資料庫
- ORACLE的歸檔空間滿導致的監聽故障資料庫無法啟動Oracle資料庫
- rac 本地監聽問題導致資料斷斷續續連線
- 啟動資料庫監聽資料庫
- 資料庫開啟監聽資料庫
- Sybase資料庫日誌過大導致不能啟動(轉)資料庫
- AIX maxperm引數導致監聽問題AI
- 配置資料庫監聽白名單資料庫
- Mysql資料庫監聽binlogMySql資料庫
- 資料庫監聽夯故障分析資料庫
- /etc/hosts檔案不可讀導致10.2.0.3資料庫不能起來資料庫
- Flash Recovery Area空間不足導致資料庫不能開啟或hang住資料庫
- Oracle監聽日誌過大導致的問題Oracle
- Oracle資料庫修改LISTENER的監聽埠Oracle資料庫
- 11.2資料庫監聽的改變資料庫
- 清理資料庫監聽日誌最好方法資料庫
- 【LISTENER】配置靜態監聽時謹防SID_NAME大小寫問題導致資料庫無法連線資料庫
- WPF 已知問題 監聽 WMI 事件導致觸控失效事件
- 5.9 TSM的客戶端(ORACLE資料庫)排程程式不能啟動導致備份不正常客戶端Oracle資料庫
- Canal-監聽資料庫表的變化資料庫
- NoSQL資料庫漏洞可導致資料洩露 影響成千上萬Microsoft Azure客戶SQL資料庫ROS
- ORACLE DSG資料同步軟體程式導致資料庫無法正常關閉Oracle資料庫
- start_udev導致監聽自動停止問題處理dev
- Vue響應式原理-如何監聽Array的變化?Vue
- PG 資料庫庫監聽佇列的長度問題資料庫佇列
- 解決memory_target設定過小導致不能啟動資料庫的問題資料庫
- oracle資料庫監聽啟動不了的原因分析Oracle資料庫
- Oracle資料庫的監聽器掛起情況Oracle資料庫
- inode節點耗盡導致資料庫OOM資料庫OOM
- 由hugepage設定導致的資料庫事故資料庫
- 一個拷貝操作導致的潛在監聽類問題
- 作業系統主機名改導致監聽不可用作業系統
- 【監聽】兩庫互配靜態監聽
- rac監聽不能動態註冊
- 資料庫表匯出不全導致tomcat無法釋出程式資料庫Tomcat