Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【问题-已解决-些许疑问】关于Kuboard V3 ETCD节点占满导致无法使用界面 #459

Open
willson-71 opened this issue Oct 7, 2023 · 5 comments

Comments

@willson-71
Copy link

No description provided.

@willson-71
Copy link
Author

willson-71 commented Oct 7, 2023

  1. 如题,该ETCD集群在docker中没有自动回收、碎片整理机制?
  2. 配额2.2G左右这个如何调整大配额
  3. 清理碎片之后重启好像无效的,需要等待1小时左右它才会自动恢复成正常节点
#恢复前
 root@34cb0fe9e489:/# ETCDCTL_API=3 etcdctl     --endpoints=http://127.0.0.1:2380 endpoint status 
http://127.0.0.1:2380, 59a9c584ea2c3f35, 3.4.14, 172 kB, true, false, 14, 6173538, 6173538, memberID:6460912315094810421 alarm:NOSPACE
#恢复后
    root@34cb0fe9e489:/# etcdctl ${ep} endpoint status -w table
+----------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+
|    ENDPOINT    |        ID        | VERSION | DB SIZE | IS LEADER | IS LEARNER | RAFT TERM | RAFT INDEX | RAFT APPLIED INDEX | ERRORS |
+----------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+
| 127.0.0.1:2379 | 59a9c584ea2c3f35 |  3.4.14 |  201 kB |      true |      false |        14 |    6173578 |            6173578 |        |
+----------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+

在今后的过程中会启用其他数据库代替ETCD吗,,这里面塞了个ETCD是万万没想到的。。懵了。浏览器打开之后直接报错,sso认证没想到会用这个数据库

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

@willson-71 willson-71 changed the title 【问题】关于Kuboard V 【问题-已解决-些许疑问】关于Kuboard V3 ETCD节点占满导致无法使用界面 Oct 7, 2023
@Oc204
Copy link

Oc204 commented Nov 23, 2023

你好,可以说一下怎么解决的吗?这边遇到了同样的问题

@wangguang2112
Copy link

etcd配置启动时候可以设置--quota-backend-bytes=8589934592#调大到8GB ,可以修改镜像docker-entrypoint.sh将启动命令改为8GB

@nangongchengfeng
Copy link

也遇到这个问题,不知道官方最新版是否修复

@nangongchengfeng
Copy link

nangongchengfeng commented Jun 19, 2024

也遇到这个问题,不知道官方最新版是否修复

#526
已经有临时解决办法,可参考

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants