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

Improve buffers #11

Merged
merged 2 commits into from
Jan 14, 2025
Merged

Improve buffers #11

merged 2 commits into from
Jan 14, 2025

Conversation

Felixoid
Copy link
Owner

With previous implementation, UDP did fail with too big generators. E.g., --random 'server{01..3}.soft{1..5}.metrics.random{001..100}' --from -20d --until -1s --step 30 --carbon 'udp://localhost:2003' caused error:

Error: error while sending metrics, 0 bytes sent: write udp [::1]:40989->[::1]:2003: write: message too long

So, here's some kind of MTU precalculation that has been added.

@Felixoid Felixoid merged commit 4ebe2c4 into master Jan 14, 2025
4 checks passed
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 this pull request may close these issues.

1 participant