kuboard-press icon indicating copy to clipboard operation
kuboard-press copied to clipboard

eipwork/kuboard:v3.5.2.4 出现 Failed to connect to the database

Open jiangxianliang007 opened this issue 2 years ago • 5 comments

运行了3个月,今天突然访问不了;

{ "message": "Failed to connect to the database.", "type": "Internal Server Error" }

{"level":"warn","ts":"2023-08-24T10:47:29.893+0800","caller":"clientv3/retry_interceptor.go:61","msg":"retrying of unary invoker failed","target":"endpoint://client-ad9a110d-1a04-405a-ab34-c84227cb8e43/127.0.0.1:2379","attempt":0,"error":"rpc error: code = ResourceExhausted desc = etcdserver: mvcc: database space exceeded"} time="2023-08-24T02:47:29Z" level=error msg="Storage health check failed: create auth request: etcdserver: mvcc: database space exceeded"

jiangxianliang007 avatar Aug 24 '23 02:08 jiangxianliang007

我这里也有这个情况,运行一段时间后,从主页进入集群就白屏。你找到问题了吗

GouMingYu avatar Oct 04 '23 08:10 GouMingYu

遇到了同样问题,求解

cn-core avatar Jan 16 '24 09:01 cn-core

登陆到容器内部,执行如下的命令 export ETCDCTL_API=3 rev=$(ETCDCTL_API=3 etcdctl endpoint status --write-out="json" | egrep -o '"revision":[0-9]' | egrep -o '[0-9]') etcdctl compact $rev etcdctl drafg etcdctl alarm disarm

本质就是etcd的空间满了,,默认的是2g,kuboard开发者对这个应该是没做调整,另外也没做定时清理导致此问题出现的。

zpfhyj avatar Aug 16 '24 02:08 zpfhyj