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

riemann-health EMSGSIZE Message too long - sendto(2) on OSX #16

Closed
dch opened this issue Nov 16, 2012 · 1 comment · Fixed by #17
Closed

riemann-health EMSGSIZE Message too long - sendto(2) on OSX #16

dch opened this issue Nov 16, 2012 · 1 comment · Fixed by #17

Comments

@dch
Copy link
Contributor

dch commented Nov 16, 2012

I think output of top is too big to fit within UDP packet size; in https://github.com/aphyr/riemann-tools/blob/master/bin/riemann-health#L171 ?

/zfs/shared/repos/riemann/scripts/vendor/bundle/ruby/1.9.1/gems/riemann-tools-0.0.8/bin/riemann-health:248:in `<top (required)>'
/zfs/shared/repos/riemann/scripts/vendor/bundle/ruby/1.9.1/bin/riemann-health:23:in `load'
/zfs/shared/repos/riemann/scripts/vendor/bundle/ruby/1.9.1/bin/riemann-health:23:in `<main>'
Errno::EMSGSIZE Message too long - sendto(2)
@aphyr
Copy link
Collaborator

aphyr commented Nov 16, 2012

Huh, I haven't seen an IP stack refuse a datagram of 16384 bytes before. I mean it's big, but most HW will handle it. Guess we should rescue that and redispatch to TCP.

This issue was closed.
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

Successfully merging a pull request may close this issue.

2 participants