-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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
runtime: raising the number of GOMAXPROCS cause oom #32950
Comments
the gc log:
It alse occur when improve it from 32 to 64 of GOMAXPROCS |
I change the value of GOMAXPROCS to 16, I got ok. It will not oom. |
BTW, I set GOGC=400 because the gc is too frequent. or it cost more than 25% time to gc |
My gc problem look like this #16432 |
zhou da zhuang, you are creating too much garbage. |
@ALTree I got some info.
It look like about the mass heapIdle. |
... inuse heap is alse large. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Raising the number of GOMAXPROCS from 32 to 512.
I have 32 pysical cpu cores.
Because the gc make my server cosing lots of the time. And the idle cpu is much.
So I want to improve the gc performance throught GOMAXPROCS.
But I faild, I got the result that gc cost more time and the server cost more memory.
Even oom finally.
And it seem a long time stw but not from the gc.
runtime scheduler also cause the stw?
Why the memory is rasing ,finnally oom ?
What did you expect to see?
no oom
What did you see instead?
oom
The text was updated successfully, but these errors were encountered: