mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 19:25:56 +03:00
[GH-ISSUE #687] "can't get next random port" spamming the logs #271
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#271
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @axos88 on GitHub (Feb 12, 2019).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/687
Describe the bug
Spamming the logs with the following message:
WARN 2019-02-08T00:07:05.159159836Z: trust_dns_proto::udp::udp_stream: could not get next random port, delaying, filling up the disk. (one line about every 5ms)To Reproduce
I think it's caused by os error 24 (too many files open, but not sure, it occurs randomly)
Expected behavior
Exponential backoff maybe?
System:
Version:
Crate: resolver
Version: 0.4.3
Additional context
Occurs randomly, until disk fills up.
@bluejekyll commented on GitHub (Feb 12, 2019):
This is interesting, can you describe your situation a little more? It sounds like you have a significant number of resolutions ocuring if this is the case.
We can drop that message to a debug log message.
@axos88 commented on GitHub (Feb 12, 2019):
I'm not sure what is happening exactly either yet, I shouldn't be having multiple resolutions happening simultaneously, I'm still investigating why the error 24 is occuring. However if it does happen, it will spam the logs, because it will log out the same message for every poll that happens.
@bluejekyll commented on GitHub (Feb 12, 2019):
Is this accurate:
resolver Version: 0.4.3? That would be really old. can you confirm that version please? I'd highly recommend upgrading to 0.10 (current supported release), or the 0.11 alpha preview release. There were some issues discovered in previous versions related to socket management, that have since been fixed.Similarly, the 0.6 or 0.7 release of the proto crate has those fixes.
@axos88 commented on GitHub (Feb 13, 2019):
No, I must've missed something, I'm using 0.10.0