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

[collector] useGOMEMLIMIT: true makes otel col startup faild #912

Closed
JaredTan95 opened this issue Oct 9, 2023 · 1 comment · Fixed by #913
Closed

[collector] useGOMEMLIMIT: true makes otel col startup faild #912

JaredTan95 opened this issue Oct 9, 2023 · 1 comment · Fixed by #913
Labels
bug Something isn't working chart:collector Issue related to opentelemetry-collector helm chart

Comments

@JaredTan95
Copy link
Member

JaredTan95 commented Oct 9, 2023

I tested with useGOMEMLIMIT: true after #900 merged But I got the following errors and otel col could not startup:

GOMEMLIMIT=1024Mi
fatal error: malformed GOMEMLIMIT; see `go doc runtime/debug.SetMemoryLimit`

runtime stack:
runtime.throw({0x7ca4cb5?, 0xa?})
	runtime/panic.go:1077 +0x5c fp=0x7ffc561f55c8 sp=0x7ffc561f5598 pc=0x43ba5c

so, I change GOMEMLIMIT=1024Mi into GOMEMLIMIT=1024MiB according go runtime docs and otel-col startup success.

@TylerHelmuth
Copy link
Member

This was called out here, and I thought I included that suggestion in the suggestion batch, but it looks like I missed it: #900 (comment). Are you able to submit a PR to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working chart:collector Issue related to opentelemetry-collector helm chart
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants