datart icon indicating copy to clipboard operation
datart copied to clipboard

容器经常自动重启

Open kiwi-field opened this issue 2 years ago • 4 comments

Datart Version 1.0.0-beta3

Describe the bug 部署在docker容器,经常会自动重启,内存占用大,cpu有时候也很高

To Reproduce Steps to reproduce the behavior:

  1. 容器内存配置了8g 8core 测试的人较多,经常自动重启

Expected behavior 1.容器不会自动重启

Screenshots image image

Environmental details: (optional, depending on where the bug occurs)

  • OS: [e.g. Windows 10]
  • Source Database: [e.g. MySQL 8.0.26]
  • Browser: [e.g. chrome 94, safari 15]

Additional context Add any other context about the problem here.

kiwi-field avatar Aug 05 '22 06:08 kiwi-field

image

kiwi-field avatar Aug 05 '22 07:08 kiwi-field

有排查思路吗?老师们

kiwi-field avatar Aug 08 '22 05:08 kiwi-field

内存和cpu都可能占用比较大

kiwi-field avatar Aug 08 '22 06:08 kiwi-field

image image

kiwi-field avatar Aug 08 '22 06:08 kiwi-field

image

麻烦问下在哪里可以修改启动内存,我修改了还是默认的2g

sxiaoyuer avatar Jun 06 '23 04:06 sxiaoyuer

image

麻烦问下在哪里可以修改启动内存,我修改了还是默认的2g

修改 bin目录下的启动脚本

nianhua99 avatar Jun 06 '23 06:06 nianhua99

tks,最后解决了,我们用的最新版的镜像docker部署的,我覆盖bin/datart-server.sh也不行,重启还是默认的2g启动,最后修改了config.v2.json解决了,感谢。

| | 宋玉龙 | | @.*** | ---- 回复的原邮件 ---- | 发件人 | @.> | | 发送日期 | 2023年6月6日 14:24 | | 收件人 | @.> | | 抄送人 | @.> , @.> | | 主题 | Re: [running-elephant/datart] 容器经常自动重启 (Issue #1819) |

麻烦问下在哪里可以修改启动内存,我修改了还是默认的2g

修改 bin目录下的启动脚本

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

sxiaoyuer avatar Jun 06 '23 06:06 sxiaoyuer