cvucheckreport_*.xml文件占用空间过大

问题描述:

类似这样的文件

$ORACLE_BASE/crsdata/@global/cvu/baseline/cvures/cvucheckreport_111201792218.xml

[root@dbnode01 cvures]# ls |wc -l

680
[root@dbnode01 cvures]# du -sh

22G     .

这种文件总共占用了22g,是不正常的情况。

有意思的是,我的环境是4个节点的12.1.0.2 grid,只有2个节点出现这种cvucheckreport占用空间过多的情况,其他2个节点正常。

问题原因:

集群资源ora.cvu每6小时会检查clusterware,并生成report报告存放在'$GI_HOME/cvu/baseline' 或者'$ORACLE_BASE/crsdata/@global/cvu/baseline'下,这些报告会定期删除,但是可能遇到bug。

解决办法:

Bug 18143707 is fixed in 12.1.0.2
Bug 19703199 is fixed in 12.1.0.2.4 GI PSU
Bug 20177779 is fixed in 12.1.0.2.5 GI PSU
Bug 22594310 is fixed in 12.1.0.2.161018 GI PSU
The workaround is to remove these reports manually.

1.打上最新的GI补丁

2.手动删除这些report文件,清理空间

比如:删除1天前的report文件

cd $ORACLE_BASE/crsdata/@global/cvu/baseline/cvures/

 find ./ -mtime +1 -name "*.xml" -exec rm -rf {} \;


参考文档: reports from ora.cvu resource using excessive disk space (文档 ID 1964482.1)

猜你喜欢

转载自blog.csdn.net/qq_40687433/article/details/80427133