当前位置:网站首页>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
边栏推荐
- XSS详解及复现gallerycms字符长度限制短域名绕过
- 使用 apxs 构建和安装 Apache 扩展共享对象模块
- ABAP 里文件操作涉及到中文字符集的问题和解决方案
- 以太网PHY芯片LAN8720A芯片研究
- hint: Updates were rejected because the tip of your current branch is behind hint: its remote counte
- 手把手教你编写性能测试用例
- 【wpf】拖拽的简单实现
- 首次在我们的centos登录我们的Mysql
- CMake 编译运行dpdk项目程序
- hint: Updates were rejected because the tip of your current branch is behind hint: its remote counte
猜你喜欢
Problems and solutions related to Chinese character set in file operations in ABAP
罗彻斯特大学 | 现在是什么序列?蛋白质序列的贝叶斯优化的预训练集成
OpenSSF的开源软件风险评估工具:Scorecards
grafana9配置邮箱告警
基于Web的疫情隔离区订餐系统
【kali-密码攻击】(5.2.1)密码分析:Hash Identifier(哈希识别)
ITK编译remote库
[转] Typora_Markdown_图片标题(题注)
什么是一网统管?终于有人讲明白了
[论文阅读] Multimodal Unsupervised Image-to-Image Translation
随机推荐
Interlay集成至Moonbeam,为网络带来interBTC和INTR
【Grpc】简介
什么是持续测试?
【UNR #6 C】稳健型选手(分治)(主席树)(二分)
你有对象类,我有结构体,Go lang1.18入门精炼教程,由白丁入鸿儒,go lang结构体(struct)的使用EP06
pyhton之问~~~~~if __name__ == ‘__main__‘:是什么?
Chip Information|Semiconductor revenue growth expected to slow to 7%, Bluetooth chip demand still growing steadily
C# 四舍五入 MidpointRounding.AwayFromZero
Unity开发者必备的编辑器技巧
Solidity最强对手:MOVE语言及新公链崛起
开发IM即时通讯容易吗?需要什么技术
万字总结:分布式系统的38个知识点
浏览器中location详解
即时通讯开发如何撸一个WebSocket服务器
[Turn] Typora_Markdown_ picture title (caption)
Interdepartmental Communication Skills
【报错】ModuleNotFoundError: No module named ‘paramiko‘
分析 20 个 veToken 生态系统协议 这种代币模型为何受欢迎?
【论文笔记】基于深度学习的机器人抓取虚拟仿真实验教学系统
什么是 PWA