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

Add an exit code signaling permanent failure to avoid respawn cycles. #2488

Open
rsmmr opened this issue Oct 19, 2022 · 0 comments
Open

Add an exit code signaling permanent failure to avoid respawn cycles. #2488

rsmmr opened this issue Oct 19, 2022 · 0 comments

Comments

@rsmmr
Copy link
Member

rsmmr commented Oct 19, 2022

Recording an idea here that came up discussing the management framework: Our supervisor currently always restarts Zeek processes after their termination, independent of why they quit. While that's desired for unexpected terminations, like crashes, it's not helpful if Zeek runs into some kind of configuration issue that will need human intervention to solve.

I'm thinking we could use a magic exit code to flag permanent errors for which the Supervisor should not attempt a Zeek restart until some kind of manual action has been taken. Examples would be script parsing errors, trouble with loading plugins, etc. Maybe even any errors that happen before we get to zeek_init()?

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

No branches or pull requests

1 participant