Decode360's Blog

          業(yè)精于勤而荒于嬉 QQ:150355677 MSN:decode360@hotmail.com

            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 ::  :: 管理 ::
            397 隨筆 :: 33 文章 :: 29 評論 :: 0 Trackbacks
          PMON failed to acquire latch, see PMON dump
          ?
          ?
          ??? 今天在關閉數(shù)據(jù)庫的時候,shutdown immediate之后系統(tǒng)就hang住了,其他進程也連不上庫。查看了alert.log日志,發(fā)現(xiàn)大量出現(xiàn)“PMON failed to acquire latch, see PMON dump”這個錯誤,到網(wǎng)上查了一下,據(jù)說是個bug,在一篇博文上找到了解決的辦法:
          ?
          http://blog.chinaunix.net/u/6436/showart_1918697.html
          ?
          ***********************************************************************************
          ?
          To implement the solution, execute the following steps:

          1. In $ORACLE_HOME/network/admin/listener.ora, of the database where the Metadata Repository is to be loaded, add the line:
          INBOUND_CONNECT_TIMEOUT_LISTENER = 0

          2. In the Oracle Server 10g sqlnet.ora, add the line:
          SQLNET.INBOUND_CONNECT_TIMEOUT = 0

          3. Stop and restart the database and the listener for the changes to take effect
          ?
          這是metalink上的:
          ?
          Applies to:
          Oracle Server - Enterprise Edition - Version: 10.2.0.1.0 to 10.2.0.3.0
          ?
          This problem can occur on any platform.
          ?
          Symptoms
          Database Instance hangs and connections to database using 'sqlplus' are also not possible.

          Checking alert.log we see following messages

          PMON failed to acquire latch, see PMON dump
          Fri Oct 5 10:33:00 2007
          PMON failed to acquire latch, see PMON dump
          Fri Oct 5 10:34:05 2007
          PMON failed to acquire latch, see PMON dump
          Errors in file /dwrac/BDUMP/dwhp_pmon_1912834.trc:

          This will also dump a systemstate dump and the location will be mentioned in alert.log

          Also at OS level, we see that MMAN is consuming lot of CPU.

          Cause
          Currently this issue is being worked upon by development in
          ?
          ?
          Bug 6488694
          - DATABSE HUNG WITH PMON FAILED TO ACQUIRE LATCH MESSAGE
          ?
          ?
          Solution
          As of now only workaround is to disable Automatic Shared Memory Management (
          ?
          ASMM
          ) i.e Setting
          ?
          SGA_TARGET=0

          Also as per bug, you can can set following event and restart the instance

          EVENT="10235 trace name context forever, level 2"
          ?
          Development is suspecting memory corruption in this case. So with the above event, database might hit ORA-600 before spin. The trace file of ORA-600 would help investigate the issue. These trace files need to be sent to Oracle support for investigation.

          Note : - Event 10235 with level 2 or higher can impact latch contention.Though may not be quite critical. In case you see latch contention then unset the event

          References
          Bug 6488694
          - DATABSE HUNG WITH PMON FAILED TO ACQUIRE LATCH MESSAGE
          ***********************************************************************************
          ?
          ?
          ??? 最后沒辦法,hang住之后系統(tǒng)sys用戶都登不進,無法使用任何操作,只能重啟機器之后數(shù)據(jù)庫恢復正常。希望加了那兩個參數(shù)之后不要再發(fā)生這樣的Bug,雖然對數(shù)據(jù)庫的危害不大,但是需要重啟機器還是比較嚴重的。
          ?
          ?
          ?
          ?
          posted on 2009-06-23 21:42 decode360 閱讀(4563) 評論(0)  編輯  收藏 所屬分類: 07.Oracle
          主站蜘蛛池模板: 东丽区| 浙江省| 图片| 黎川县| 丹巴县| 平罗县| 儋州市| 吴桥县| 石城县| 峨边| 宜黄县| 马公市| 太原市| 莱西市| 泸溪县| 郁南县| 新竹市| 任丘市| 灵山县| 夏邑县| 浠水县| 万载县| 遂溪县| 潜山县| 嵊州市| 乐安县| 抚州市| 孟村| 乃东县| 南昌县| 股票| 宁陕县| 亳州市| 文安县| 怀集县| 略阳县| 登封市| 长宁县| 广西| 西乌| 长兴县|