-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
我在Kubernetes环境中运行codeFused-query 2.10版本时,遇到sparrow由于使用不当使用内存,导致出现OOMKilled:具体原因是未读取pod容器对内存限制。
我检查了2.10的版本Bug Fix, #63 修复了此bug,但问题缺还是存在,我检查了2.10版本代码以及sparrow运行日志,怀疑打包程序并没有将相关代码包含进去,与提供的代码存在差异,具体表现为,在判断需要使用的内存时,程序输出日志为‘current memory is: 32 GB, will use xmx: 31 GB’,相关代码输出日志为:logging.info("current memory is : %s GB", total_memory_gb)。日志格式与代码逻辑不一致。
环境信息:
运行环境:K8S
容器限制:8C/8G
复现步骤:集群pod运行sparrow进行代码分析。
Metadata
Metadata
Assignees
Labels
No labels