【問題處理】crsd日誌中頻現“Failed to retrieve procctx from ht”提示資訊

secooler發表於2011-01-03
“Failed to retrieve procctx from ht”這個提示資訊是由於Oracle Bug(4494370)導致的一個提示資訊。該資訊會持續不斷的在crsd日誌中出現。
好在該問題僅限於CRS 10.2.0.1這個版本中,並且它不會對生產使用上帶來麻煩。

1.問題現象
在crsd的日誌中出現大量有關“Failed to retrieve procctx from ht”的報錯資訊。
crsd的日誌存放的目錄結構為:$CRS_HOME/log//crsd/crsd.log
RACDB1@rac1 /home/oracle$ vi /u01/crs1020/log/rac1/crsd/crsd.log
……省略部分資訊……
2011-01-03 10:00:48.559: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [152923864] retval lht [-27] Signal CV.
2011-01-03 10:01:07.205: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [152182368] retval lht [-27] Signal CV.
2011-01-03 10:03:20.929: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [155244240] retval lht [-27] Signal CV.
2011-01-03 10:03:20.942: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [155244240] retval lht [-27] Signal CV.
2011-01-03 10:03:36.211: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [150571920] retval lht [-27] Signal CV.
2011-01-03 10:03:36.222: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [150571920] retval lht [-27] Signal CV.
2011-01-03 10:03:37.379: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [155244240] retval lht [-27] Signal CV.
2011-01-03 10:03:37.390: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [155244240] retval lht [-27] Signal CV.
2011-01-03 10:03:42.175: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [155244240] retval lht [-27] Signal CV.
2011-01-03 10:03:42.187: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [155244240] retval lht [-27] Signal CV.
2011-01-03 10:03:49.272: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [152209232] retval lht [-27] Signal CV.
2011-01-03 10:04:50.440: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [152182368] retval lht [-27] Signal CV.
2011-01-03 10:04:56.132: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [152209232] retval lht [-27] Signal CV.
2011-01-03 10:05:07.206: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [150411344] retval lht [-27] Signal CV.
2011-01-03 10:05:11.039: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [152949728] retval lht [-27] Signal CV.
2011-01-03 10:05:21.066: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [155244240] retval lht [-27] Signal CV.
2011-01-03 10:05:21.078: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [155244240] retval lht [-27] Signal CV.
2011-01-03 10:05:27.954: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [152923864] retval lht [-27] Signal CV.
2011-01-03 10:05:57.067: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [152923864] retval lht [-27] Signal CV.
2011-01-03 10:06:04.237: [  OCRSRV][3034303376]th_select_handler: Failed to retrieve procctx from ht. constr = [155244240] retval lht [-27] Signal CV.
……省略部分資訊……


2.問題原因
這些提示資訊是用於指導Oracle開發人員開發的Debug資訊。

3.問題影響
對使用沒有影響。如果不覺得礙眼的話我們可不做處理。

4.問題處理
針對這個Bug有兩種處理方法:①關掉有關提示功能;②是升級CRS到更高的版本。
這裡介紹如何關閉報錯的方法。

1)關掉報錯資訊
[root@rac1 ~]# /u01/crs1020/bin/crsctl debug log crs OCRSRV:0
Set CRSD Debug Module: OCRSRV  Level: 0

2)重啟各個節點上的CRS
為保險起見,可以考慮重新啟動RAC所有節點上的CRS,使修改生效。

如果需要重啟CRS請評估最佳的維護視窗,防止對生產業務造成衝擊。

5.小結
對系統中發現的日誌應該不厭其煩的檢查,對發現的任何蛛絲馬跡都將其消滅在萌芽狀態。

Good luck.

secooler
11.01.03

-- The End --

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/519536/viewspace-683296/,如需轉載,請註明出處,否則將追究法律責任。

相關文章