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

x/pkgsite: Golang GC Time And Memory limit #64004

Closed
VEDANTDOKANIA opened this issue Nov 8, 2023 · 1 comment
Closed

x/pkgsite: Golang GC Time And Memory limit #64004

VEDANTDOKANIA opened this issue Nov 8, 2023 · 1 comment

Comments

@VEDANTDOKANIA
Copy link

VEDANTDOKANIA commented Nov 8, 2023

Server specification
32 core 64 GB , linux ubuntu 22
Memory limit set (75%) 48 GB

Go version - 1.21
I have a live application built in golang . One of the problems we are facing is with golang GC. As soon as our heap touches 30 GB the application starts running GC with GC pause greater than 1 sec , but my system has enough memory than GC should not run in that case as per my understand . Can anyone suggest me what other GC parameter should be set and why issue is there . And also how much time go takes to free certain amount of me?
@cherrymui can you pls help us in the same

@gopherbot gopherbot added this to the Unreleased milestone Nov 8, 2023
@cherrymui
Copy link
Member

Memory limit set (75%) 48 GB

Do you mean you set environment variable GOMEMLIMIT to 48 GiB ? If not, you may want to try setting it.

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. See https://golang.org/wiki/Questions . You may want to ask on a forum or another channel.

Closing this issue as this sounds like a question. If you think there is an actual bug, please follow the issue template and provide more information, like what your application is and does, what is the expected behavior and what you saw. For a GC issue, some GC trace or execution trace may be helpful. Thanks.

@cherrymui cherrymui closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2023
@golang golang locked and limited conversation to collaborators Nov 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants