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

fatal error: concurrent map read and map write #1479

Open
vonschultz opened this issue Dec 20, 2024 · 0 comments
Open

fatal error: concurrent map read and map write #1479

vonschultz opened this issue Dec 20, 2024 · 0 comments

Comments

@vonschultz
Copy link

Describe the bug
amazon-cloudwatch-agent crashes with "fatal error: concurrent map read and map write"

Steps to reproduce
amazon-cloudwatch-agent, running on an on-prem server, will occasionally stop reporting metrics. Inspecting the service logs, there's a crash, starting with the words fatal error: concurrent map read and map write.

What did you expect to see?
I expect amazon-cloudwatch-agent to either report metrics regularly, or possibly exit with an understandable and ideally actionable error message that indicates a problem with the environment (if any). I don't expect to see anything that looks like a programming error or crash.

What did you see instead?
fatal error: concurrent map read and map write followed by a backtrace.
amazon-cloudwatch-agent.service.crash.log

What version did you use?
Version: 1.300049.1b929-1

What config did you use?
Config:
amazon-cloudwatch-agent.json

Environment
OS: Ubuntu 24.04.1

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.1 LTS
Release:	24.04
Codename:	noble

Additional context
amazon-cloudwatch-agent.service.txt

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

No branches or pull requests

1 participant