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

Sidecar hangs during restart #463

Closed
danotorrey opened this issue Jan 4, 2023 · 1 comment
Closed

Sidecar hangs during restart #463

danotorrey opened this issue Jan 4, 2023 · 1 comment
Assignees

Comments

@danotorrey
Copy link

[HS 1308449306]

Problem description

When attempting to restart a Sidecar, the restart process hangs and gets stuck in an infinite loop if the shutdown of the sidecar takes more than 5 seconds.

A possible source of the issue is here, where a 5 second timeout is hard-coded:
https://github.com/Graylog2/collector-sidecar/blob/1.3/daemon/exec_runner.go#L264

The problem might also be compounded by large sidecar configurations.

Environment

  • Sidecar Version: 1.2.0
  • Graylog Version: 4.3.9
  • Operating System:
  • Elasticsearch Version:
  • MongoDB Version:
@mpfz0r
Copy link
Contributor

mpfz0r commented Jan 12, 2023

Fixed with #462

@mpfz0r mpfz0r closed this as completed Jan 12, 2023
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

2 participants