You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: 2 proxies were crashed by OOM during statbility test on distributed mode #17757
1. run a mo cluster with config in this issue
2. run tpch 10G loop test processes in one independant tenant
3. run tpcc 10 warehouse and 10 ternimals longrunnig test processes in one independant tenant, prepare mode
4. run sysbench mixed cases(insert/delete/update/select) longrunnig test processes with 75 terminals in one independant tenant,non-prepare mode
5. run another sysbench mixed cases(insert/delete/update/select) longrunnig test processe with 75 terminals in one independant tenant,non-prepare mode
go tool pprof http://localhost:6069/debug/malloc
Activity
volgariver6 commentedon Jul 29, 2024
从日志看不出来问题,需要在环境中加上proxy的heap profile,麻烦 @guguducken 配置一下
volgariver6 commentedon Jul 30, 2024
改了配置,正在重新跑测试
volgariver6 commentedon Aug 1, 2024
还是有oom发生,需要主动的将heap导出来查看了。
volgariver6 commentedon Aug 2, 2024
正在跑测试
volgariver6 commentedon Aug 5, 2024
找到问题原因了,堆外内存使用之后没有释放。
把debug端口映射到本地:
获取当前内存使用情况
运行 top 30 查看堆外内存使用
volgariver6 commentedon Aug 6, 2024
fixed
aressu1985 commentedon Aug 7, 2024
not fixed
commit: c1c365c
https://shanghai.idc.matrixorigin.cn:30001/d/85a562078cdf77779eaa1add43ccec1e/kubernetes-compute-resources-namespace-pods?orgId=1&var-datasource=prometheus&var-cluster=&var-namespace=mo-c1c365c-202408062226&from=1722954611588&to=1722970862283
2 remaining items
volgariver6 commentedon Aug 8, 2024
已提交新的pr修复
volgariver6 commentedon Aug 9, 2024
等待pr合并
aressu1985 commentedon Aug 12, 2024
问题尚未解决,需要继续查看
xzxiong commentedon Aug 12, 2024
new case:
https://shanghai.idc.matrixorigin.cn:30001/d/85a562078cdf77779eaa1add43ccec1e/kubernetes-compute-resources-namespace-pods?orgId=1&var-datasource=prometheus&var-cluster=&var-namespace=mo-c2fa177-202408102118&from=now-24h&to=now&refresh=10s
xzxiong commentedon Aug 12, 2024
针对该问题,增加 meric 进行观测,基本确定:
Trace Metric)xzxiong commentedon Aug 13, 2024
#18081 针对这里 metric req 堆积的问题,增加 backoff 策略:当metric queue 中请求数操作 > 8 (根据配置计算)时,跳过 sql flush的操作,直接执行 csv flush
volgariver6 commentedon Aug 14, 2024
#18081 已经提交处理OOM的问题
#18099 将 malloc 的heap文件也保存到etl中,如果再出现oom,再分析一下malloc的heap
volgariver6 commentedon Aug 15, 2024
找到最后泄漏的地方,提交pr修复
volgariver6 commentedon Aug 16, 2024
proxy 运行内存zhan占用平稳,没有泄漏了
aressu1985 commentedon Aug 19, 2024
fixed