-
Notifications
You must be signed in to change notification settings - Fork 24
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
nsca can exit due to ECONNABORTED on FreeBSD #20
Comments
|
Looking into it. |
|
I may be hitting this at work as well. Patched locally, will see if this solves the unexpected NSCA daemon shutdowns. |
|
@feld What did you find? Did this solve your issue? |
|
I can confirm this fixed the issue and is no longer crashing. We are shipping this patch with NSCA on FreeBSD |
|
@hedenface, the patch above looks like it has been tested, fixes the issue, and FreeBSD ships it for more than 2 years. This is likely valid for other platforms as well. |
Originally submitted by Craig Leres in NagiosEnterprises#20
|
I filed #39 with the patch rebased against maint branch. |
|
PR was merged - closing |
We've had a lot of problems on our FreeBSD systems with the nsca daemon exiting due to ECONNABORTED. This is probably caused by cyber security scanning tickling a race condition in nsca itself.
The FreeBSD accept(2) man page says:
Here is a minimal patch. A better fix would be to never treat accept(2) errors as fatal.
The text was updated successfully, but these errors were encountered: