---
title: "ob_tenant500_mem_hold_over_threshold OB 500 租户的占用内存大小超限 - 云平台 OCP V4.3.0 | OceanBase 文档中心"
description: ob_tenant500_mem_hold_over_threshold OB 500 租户的占用内存大小超限 告警描述 OB 500 租户（特殊统计，不特指某一个租户）占用内存大小超限时，触发该告警。 告警原理 下表列出了该告警监控逻辑中涉及的关键参数。 参数 值 监控指标 ob_tenant500_mem_hol…
---
切换语言

- 中文站 - 简体中文
- International - English
- 日本站 - 日本語

文档反馈![](https://mdn.alipayobjects.com/huamei_22khvb/afts/img/A*lJTmRZ61jSUAAAAAAAAAAAAADiGDAQ/original) 云平台 OCPV 4.3.0

# ob_tenant500_mem_hold_over_threshold OB 500 租户的占用内存大小超限

更新时间：2026-04-14 11:55:54

[编辑](https://github.com/oceanbase/ocp-doc/edit/V4.3.0/zh-CN/1900.reference-guide/100.alarm-reference/200.ob-alert/2500.ob_tenant500_mem_hold_over_threshold.md)  

## 告警描述

OB 500 租户（特殊统计，不特指某一个租户）占用内存大小超限时，触发该告警。

## 告警原理

下表列出了该告警监控逻辑中涉及的关键参数。

| 参数 | 值 |
| --- | --- |
| 监控指标 | `ob_tenant500_mem_hold_gigabyte`    表示 OceanBase 系统租户占用的内存量，当 500 租户（特殊统计，不特指某一个租户）占用内存量大于阈值（默认为 100 GB）时触发告警。 |
| 指标来源 | - OceanBase V4.0 以下版本：`select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ sum(hold) as hold, sum(used) as used from __all_virtual_memory_info where tenant_id = 500 and svr_ip = ? and svr_port = ? and mod_name <> 'OB_KVSTORE_CACHE_MB'` - OceanBase V4.0 及以上版本：`select /* MONITOR_AGENT */ sum(hold) as hold, sum(used) as used from V$OB_MEMORY where tenant_id = 500 and svr_ip = ? and svr_port = ? and MOD_NAME <> 'KvstorCacheMb'` |
| 采集指标（GB） | tenant500_mem_hold |
| 监控表达式 | sum(ob_tenant500_memory_hold_bytes{@LABELS}) by (@GBLABELS) / 1073741824 |
| 采集周期 | 60 秒 |

## 规则信息

| 监控指标 | 默认阈值（单位：GB） | 持续时间 | 检测周期 | 消除周期 |
| --- | --- | --- | --- | --- |
| ob_tenant500_mem_hold_gigabyte | 100 | 0 秒 | 60 秒 | 5 分钟 |

## 告警信息

| 告警触发方式 | 告警等级 | 范围 |
| --- | --- | --- |
| 基于监控指标的表达式 | 严重 | 服务器 |

## 告警模板

- 告警概述模板：${alarm_target} ${alarm_name}
 - 告警详情模板：集群：${ob_cluster_name}，主机：${host}，告警：${alarm_name}，占用内存 ${value_shown}， 超过 ${alarm_threshold} GB
 - 告警概述样例：ob_cluster=obcluster-1:svr_ip=xxx.xxx.xxx.xxx OB 500 租户的占用内存大小超限
 - 告警详情样例：集群：obcluster-1，主机：xxx.xxx.xxx.xxx，告警：OB 500 租户的占用内存大小超限，占用内存 101.0 GB， 超过 100.0 GB

## 对系统的影响

500 租户内存使用过多会导致机器内存资源耗尽，OBServer 节点内的租户会因为内存不足而无法正常工作。

## 可能原因

部分已知缺陷会在特定场景下导致 500 租户内存使用持续增长。

## 处理方法

在 OCP 中进入该 OceanBase 集群 sys 租户的 **资源管理** 界面，查看 **资源使用趋势** 中的 **内存** 折线图，判断内存使用量是否符合预期。

![08181417](https://obbusiness-private.oss-cn-shanghai.aliyuncs.com/doc/img/ocp/p306445.png)

- 如果内存用量符合预期，可以调整告警项阈值以避免告警持续触发。

  可在 **系统管理 > 告警** 的 **告警项配置** 页签中找到相应告警，并通过 **编辑** 按钮修改告警阈值。
 - 如果内存用量不符合预期，则需要重启 observer 进程，以避免 OBServer 节点因内存不够而无法工作。

  可在该 OceanBase 集群 **总览** 页的 **OBServer 列表** 中单击 **重启** 按钮，来重启 observer 进程。

 上一篇 下一篇 ![有帮助](https://gw.alipayobjects.com/mdn/ob_asset/afts/img/A*y6ocSqN8cqsAAAAAAAAAAAAAARQnAQ)![无帮助](https://gw.alipayobjects.com/mdn/ob_asset/afts/img/A*BG9IQJyLHF8AAAAAAAAAAAAAARQnAQ)![反馈](https://gw.alipayobjects.com/mdn/ob_asset/afts/img/A*eTWdQKCRKHwAAAAAAAAAAAAAARQnAQ)[AI](https://www.oceanbase.com/obi) 咨询热线
