【问题处理】crsd日志中频现“Failed to retrieve procctx from ht”提示信息

“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 --

请使用浏览器的分享功能分享到微信等