当前位置:网站首页>RESOURCE_EXHAUSTED: etcdserver: mvcc: database space exceeded
RESOURCE_EXHAUSTED: etcdserver: mvcc: database space exceeded
2022-08-10 01:12:00 【whatzhang007】
报错信息

原因
etcd满了,空间不足
解决
- 压缩空间,碎片整理
- 清除老旧数据
- 扩容
具体步骤
查看空间详情
# 查看详情
$ etcdctl --endpoints=ip:port endpoint status --write-out="table"

手动压缩
# 1、获取当前的版本
$ rev=$(etcdctl --endpoints=ip:port endpoint status --write-out="json" | egrep -o '"revision":[0-9]*' | egrep -o '[0-9].*')
# 2、压缩当前版本之前的所有记录
$ etcdctl compact $rev
# 3、清理多余的碎片空间
$ etcdctl defrag
# 4、解除警告
$ etcdctl alarm disarm
自动压缩设置
# 保留一个小时的历史记录
$ etcd --auto-compaction-retention=1
官方文档https://etcd.io/docs/v3.4/op-guide/maintenance/#history-compaction
边栏推荐
猜你喜欢
![[Turn] Typora_Markdown_ picture title (caption)](/img/67/589eed8de86bff9fc017ae7c409410.png)
[Turn] Typora_Markdown_ picture title (caption)

DHCP——动态主机配置协议
![[LeetCode] Find the sum of the numbers from the root node to the leaf node](/img/1c/6c627e17a60f424601226504f4ff36.png)
[LeetCode] Find the sum of the numbers from the root node to the leaf node

Initial attempt at UI traversal

Visual low-code system practice based on design draft identification

【论文粗读】(NeurIPS 2020) SwAV:对比聚类结果的无监督视觉特征学习

彩色袜子题

Research on Ethernet PHY Chip LAN8720A Chip

基于设计稿识别的可视化低代码系统实践

卷积神经网络识别验证码
随机推荐
你有对象类,我有结构体,Go lang1.18入门精炼教程,由白丁入鸿儒,go lang结构体(struct)的使用EP06
Initial attempt at UI traversal
Solidity最强对手:MOVE语言及新公链崛起
浏览器中的history详解
Not, even the volume of the king to write code in the company are copying and pasting it reasonable?
sql实战积累
你有对象类,我有结构体,Go lang1.18入门精炼教程,由白丁入鸿儒,go lang结构体(struct)的使用EP06
RedHat红帽RHEL7安装与使用,VMware Workstation16 Pro虚拟机的安装与使用
破产企业的职工退休怎么办?
DALL·E-2是如何工作的以及部署自己的DALL·E模型
微透镜阵列的高级模拟
color socks problem
使用 apxs 构建和安装 Apache 扩展共享对象模块
@PostConsturct注解作用及特点
多线程之自定义线程池
罗彻斯特大学 | 现在是什么序列?蛋白质序列的贝叶斯优化的预训练集成
Fedora 36 dnf 安装ModSecurity和 OWASP 核心规则集
Chip Information|Semiconductor revenue growth expected to slow to 7%, Bluetooth chip demand still growing steadily
【Grpc】简介
Moonbeam网络维护模式(Maintenance Mode)解读