資料庫出現兩個Listener問題的官方處理方法
Intermittent TNS Listener Hang, New Child Listener Process Forked (文件 ID 340091.1)
In this Document
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: 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.
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.
TNS listener can hang at any time and effect standalone or RAC systems
Possible Symptoms
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
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.4 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
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_
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)
Modification History
References
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/14663377/viewspace-1034858/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ES同步Mysql資料庫(包括出現問題怎麼處理哦)MySql資料庫
- Go的http庫處理multipart的兩個問題解決GoHTTP
- 處理MySQL資料庫出現大量Locked的一個案例MySql資料庫
- 一個關於資料庫閃回區問題的處理資料庫
- 資料庫響應慢問題處理資料庫
- 【LISTENER】一個資料庫配置兩個監聽埠號資料庫
- Oracle資料庫中的逐行處理問題NEOracle資料庫
- 近期處理的Oracle資料庫問題總結Oracle資料庫
- imp工具匯入整個資料庫出現的問題資料庫
- 處理問題的方法
- 資料庫升級問題處理一則資料庫
- Oracle資料庫無效物件問題處理Oracle資料庫物件
- Cookie出現兩個同名Key的問題Cookie
- listener.log太大的處理方法
- 資料庫映象期間可能出現的故障處理資料庫
- 資料處理--pandas問題
- mysql問題處理兩則MySql
- 兩個資料訪問受限的問題
- iOS開發中兩個常見問題的處理iOS
- 一次OWB資料庫效能問題處理資料庫
- 如何處理Oracle資料庫中的壞塊問題(轉)Oracle資料庫
- 使用資料庫處理併發可能導致的問題資料庫
- 有關分散式資料庫事務處理的問題分散式資料庫
- 一次資料庫不能歸檔問題的處理資料庫
- informix資料庫頁故障的處理方法ORM資料庫
- Laravel 安裝 voyager 出現的資料庫問題Laravel資料庫
- 新建partition出現 device busy問題處理dev
- Mac出現問題的5個警告訊號與處理方法,你一定要了解Mac
- 海量資料處理:十道面試題與十個海量資料處理方法總結面試題
- 誤刪資料庫資料檔案的處理方法資料庫
- Oracle日常問題處理-資料庫無法啟動Oracle資料庫
- 資料庫主機重啟卡住問題處理分享資料庫
- Windows 下處理資料庫無法啟動問題Windows資料庫
- 資料庫如何處理大資料訪問資料庫大資料
- python中多程式處理資料庫連線的問題Python資料庫
- 資料庫無響應問題的緊急處理和分析資料庫
- 【轉】 一次資料庫不能歸檔問題的處理資料庫
- 獲取oracle資料庫連線出現的問題Oracle資料庫