-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[BUG]node-controller内存泄露 #29586
Labels
Comments
你好,请把执行机的日志发出来我们分析一下。 |
需要具体哪些日志,路径发我,我这边取一下。 |
可以在出现问题的时候抓一份 Thread Dump 文件,具体如下:
把这段脚本转存成 dump.sh;然后执行 " sh dump.sh ms-node-controller dump.log " 把执行后的dump.log 和 /opt/metersphere/logs/node-controller 下的日志发出来就行; |
你好,因为长时间未反馈,暂关闭该issue,如果后续仍遇到请随时联系我们,感谢理解和支持。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
联系方式
MeterSphere 版本
v2.10.12-lts
使用外置数据库
否
问题描述
v2.10.5-lts版本在线升级到v2.10.12-Lts版本后,执行接口测试案例,会导致node-controller服务挂掉重启
重现步骤
接口测试案例中,有使用前置步骤,前置步骤中 有配置mysql数据库,通过前置步骤 从数据库中 写sql ,获取数据,由于写的sql获取的表数据当有大量数据时,被测sql语句获取数据id有470w条雪花id,此时可以通过在安装ms服务器上使用docker stats查看观察到
node-controller服务 内存不断增加 ,达到600-700多M时,容器挂掉重启;而node-controller服务容器,默认是1g 使用的运行内存,正常调用接口时,内存使用在200-400m左右正常使用范围;此时将docker-compose node-controller yml 中默认改为8g,继续调用之前的接口测试案例,执行观察,发现内存从200m不断攀升至3.7g左右,案例执行完毕后,此时node-controller容器没有挂掉,但是内存没有释放。 再次一次执行该接口案例,内存继续攀升,则node-controller容器将挂掉重启
期待的正确结果
期望执行完毕接口后,正确释放内存
相关日志输出
附加信息
The text was updated successfully, but these errors were encountered: