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

VMAgent OOMKilled after upgrading to v1.97.1 #6303

Open
1 of 3 tasks
just1900 opened this issue May 20, 2024 · 3 comments
Open
1 of 3 tasks

VMAgent OOMKilled after upgrading to v1.97.1 #6303

just1900 opened this issue May 20, 2024 · 3 comments
Labels
question The question issue

Comments

@just1900
Copy link

just1900 commented May 20, 2024

Is your question request related to a specific component?

vmagent

Describe the question in detail

I find VMAgent got OOMKilled after upgrading from v1.79 -> v1.97
and its memory usage fluctuate significantly, what might be the cause?
image

Troubleshooting docs

@just1900 just1900 added the question The question issue label May 20, 2024
@f41gh7
Copy link
Contributor

f41gh7 commented May 20, 2024

Hello, could you please collect and attach memory profile for vmagent in the moment of high memory usage?

Most probably, it's related to the size of targets scrape response.

https://docs.victoriametrics.com/#profiling

@just1900
Copy link
Author

It seems that the application's qps is often higher than usual, this might result in generating larger responses for /metrics, when vmagent has high memory usage.

I will share the profile here if it happens again.

@antoinedeschenes
Copy link

Not sure I should create a separate thread, but we're seeing that 6 of ~30 vmagents have seen the memory usage double when upgrading from v1.93.14 to v1.101.0, running the same chart and operator versions. No difference in target count.
pprof.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question The question issue
Projects
None yet
Development

No branches or pull requests

3 participants