server hangs, not responsive while running benchmark
running make bench
record A
threads=4
connections=10
duration=30s
First bench - hanged at ampproject.org
# ignore many logs
2024-06-23T04:37:45.406813Z DEBUG doh_server::dns: attempting lookup of A ampproject.org with ns 198.41.0.4
at src/dns/mod.rs:46
in tower_http::trace::make_span::request with method: GET, uri: /dns-query?name=ampproject.org&type=A, version: HTTP/1.1
# server hanged here and did not process further requests
reset the server and ampproject.org resolved without issue
# many logs...
2024-06-23T04:43:21.044307Z DEBUG doh_server::dns: attempting lookup of A bytefcdn-oversea.com with ns 198.41.0.4
at src/dns/mod.rs:46
in tower_http::trace::make_span::request with method: GET, uri: /dns-query?name=bytefcdn-oversea.com&type=A, version: HTTP/1.1
# server hanged here and did not process further requests
reset the server and it resolved without issue
curl -H "accept: application/dns-json" "https://localhost/dns-query?name=bytefcdn-oversea.com&type=A" -k | jq
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 134 100 134 0 0 8744 0 --:--:-- --:--:-- --:--:-- 8933
{
"AD": false,
"Answer": [],
"CD": false,
"Question": [
{
"name": "bytefcdn-oversea.com",
"qtype": "A"
}
],
"RA": true,
"RD": true,
"Status": 0,
"TC": false
}
server hangs, not responsive while running benchmark
running
make bench
First bench - hanged at ampproject.org
reset the server and
ampproject.org
resolved without issueSecond bench - hanged at bytefcdn-oversea.com
reset the server and it resolved without issue