重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1504|回复: 0
打印 上一主题 下一主题

[Oracle] Oracle Cluster Health Monitor (CHM) using large amount of space

[复制链接]
跳转到指定楼层
楼主
发表于 2021-5-17 11:48:38 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Oracle Cluster Health Monitor (CHM) using large amount of space (more than default) (Doc ID 1343105.1)       


In this Document
Symptoms
Cause
Solution
References

APPLIES TO:
Oracle Database - Enterprise Edition - Version 11.2.0.2 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
SYMPTOMS
Cluster Health Monitor (CHM) files in $GI_HOME/crf/db/<node name? directory are filling up disk space in GI_HOME.

The bdb files in $GRID_HOME/crf/db/<node name> are larger than 1GB (default size) and filling up the GI_HOME file system.

CAUSE
Oracle Cluster Health Monitor (CHM) using large amount of space when it is collecting the OS statistics.

Check Cluster Health Monitor berkerley database files in $GI_HOME/crf/db/<node name> directory

SOLUTION
Remove those large Berkeley database files to free up space by doing the following as root:

$GI_HOME/bin/crsctl stop res ora.crf -init
cd $GI_HOME/crf/db/<nodename>
rm *.bdb
$GI_HOME/bin/crsctl start res ora.crf -init

Please note that bdb files get regenerated when CHM (ora.crf) resource is restarted.  The files are owned by root, so only root can delete the bdb files.  Other than losing the OS statistics that CHM has gathered, deleting bdb files does not have other impact.  CHM will start collecting the OS statistics again.

One reason for the large bdb files is that the retention period is large.   Issue "GI_HOME/bin/oclumon.pl" to get the current value of the retention period  that is given in seconds.  Issue "oclumon manage -repos resize <desired value in seconds>" to change the retention period.  One example is "oclumon manage -repos resize 259200" that retains the CHM data for 3 days (259200 seconds is the number of seconds in 3 days)

Another reason for having very large bdb files (greater than 2GB) is due to a bug since the default size limits the bdb to 1GB unless the CHM data retention time is increased.  One such bug is 10165314.

Also, please note that the local bdb file (<hostname>.ldb) may need to be deleted as well.

REFERENCES

NOTE:1328466.1 - Cluster Health Monitor (CHM) FAQ

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-1 09:00 , Processed in 0.098715 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表