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

nacos-mysql这个pod的内存异常 #429

Closed
pulsarrrr opened this issue Aug 4, 2023 · 3 comments
Closed

nacos-mysql这个pod的内存异常 #429

pulsarrrr opened this issue Aug 4, 2023 · 3 comments

Comments

@pulsarrrr
Copy link

k8s集群中含有操作系统为ROCKY9.2和CENTOS7的节点,使用helm部署nacos之后,nacos-mysql这个pod的内存占用在调度到ROCKY9.2的节点上很大,达到了16G,在centos主机上则只有200M左右,pod日志和strace进程都没有相关可疑的内容。

@wilsonwu
Copy link
Contributor

wilsonwu commented Aug 4, 2023

这个问题大概率是ROCKY9.2系统的兼容性导致,没有用过这个系统,可以到对应社区找找是否有相关答案。

@LeeVinBin
Copy link

可以调整 containerd LimitNOFILE 或者调对应 Mysql 镜像的 ulimit
参考链接:containerd/containerd#6707

@pulsarrrr
Copy link
Author

Yes! it works good for me, thanks. I'll close this issue.

可以调整 containerd LimitNOFILE 或者调对应 Mysql 镜像的 ulimit 参考链接:containerd/containerd#6707

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

3 participants