Automatically set GOMAXPROCS and GOMEMLIMIT #10062
Labels
Area: Gloo Gateway
Issues related to the Gloo Gateway project
Prioritized
Indicating issue prioritized to be worked on in RFE stream
Type: Enhancement
New feature or request
Gloo Edge Product
Open Source
Gloo Edge Version
1.17
Is your feature request related to a problem? Please describe.
It is good practice to set the Go runtime environment variables GOMAXPROCS and GOMEMLIMIT, which tell Go the max threads/memory it should use. We should set these in our containers that run Go (namely gloo and discovery) whenever resource limits are set.
See:
https://pkg.go.dev/runtime
https://blog.howardjohn.info/posts/gomaxprocs/
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional Context
No response
┆Issue is synchronized with this Asana task by Unito
The text was updated successfully, but these errors were encountered: