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

Telegraf Containers Crashing with Exit Code 137 #16460

Open
Noy-Simon opened this issue Feb 2, 2025 · 2 comments
Open

Telegraf Containers Crashing with Exit Code 137 #16460

Noy-Simon opened this issue Feb 2, 2025 · 2 comments
Labels
support Telegraf questions, may be directed to community site or slack

Comments

@Noy-Simon
Copy link
Contributor

Noy-Simon commented Feb 2, 2025

We have Telegraf running in our environment, and recently, our containers started crashing unexpectedly, entering a CrashLoopBackOff state with exit code 137.

Upon reviewing the logs, we observed that Telegraf initializes successfully but crashes immediately afterward. There are no error events available for analysis, including in the Kubelet logs.

An unusual observation is that when we modify the container's entrypoint to ["tail", "-f", "/dev/null"] (essentially keeping it alive without executing Telegraf), and then manually start Telegraf using kubectl exec, it runs without any issues.

Troubleshooting Steps & Findings:

  • The issue persists across different versions of Telegraf, including the latest release.
  • Other clusters running the same setup are unaffected.
  • The underlying nodes have not changed since before the crashes began.
  • The issue is not related to insufficient resource allocation.

Would appreciate any insights or suggestions on potential causes or further debugging approaches.

@Noy-Simon Noy-Simon added the support Telegraf questions, may be directed to community site or slack label Feb 2, 2025
@telegraf-tiger
Copy link
Contributor

telegraf-tiger bot commented Feb 2, 2025

Hello! I recommend posting this question in our Community Slack or Community Forums, we have a lot of talented community members there who could help answer your question more quickly. You can also learn more about Telegraf by enrolling at InfluxDB University for free!

Heads up, this issue will be automatically closed after 7 days of inactivity. Thank you!

@Noy-Simon
Copy link
Contributor Author

up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Telegraf questions, may be directed to community site or slack
Projects
None yet
Development

No branches or pull requests

1 participant