-
Notifications
You must be signed in to change notification settings - Fork 1
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
Tracker uptime in newtrackon.com is too low (60.80%) #26
Comments
I run the newtrackon locally with:
Until I got the error: And I checked the logs:
It's a timeout. I will open a new issue on the tracker to a dd the new metric |
The new issue to add the new metric |
I think the timeout in newtrackon for UDP announce requests is 10 seconds. See https://raw.githubusercontent.com/CorralPeltzer/newTrackon/c5af5c3d0e5d0179f9394f5a4492da8eca0282f3/newTrackon/scraper.py I've deployed the new tracker version with new metrics. For the time being (20 minutes after restarting the tracker), the average processing time for announce requests is below 400 milliseconds. However that time is only backed processing, it does not include network latency sending the response back to the client. |
If the processing time is low, I guess that would mean, the requests are not even reaching the application (the "receiver"). Maybe we could try to fine tune the operating system. ChatGPT suggestionThe number of UDP requests a socket can accept on a Linux system (like Ubuntu on a DigitalOcean droplet) is influenced by several system-level parameters. While UDP is connectionless and doesn't maintain queues for established connections like TCP, the system maintains buffers for receiving packets. Here are the key factors: 1. Socket Receive Buffer Size (
|
netstat -su
IcmpMsg:
InType3: 49256
InType5: 205
InType11: 20
OutType3: 746124
Udp:
8187249 packets received
1007279 packets to unknown port received
0 packet receive errors
8344788 packets sent
0 receive buffer errors
0 send buffer errors
UdpLite:
IpExt:
OutMcastPkts: 20
InOctets: 425726197318
OutOctets: 862919782235
OutMcastOctets: 800
InNoECTPkts: 4846361527
InECT1Pkts: 37809
InECT0Pkts: 300510
InCEPkts: 17275
MPTcpExt: From the output of Key MetricsUDP Statistics
Key Insights
|
Got to https://newtrackon.com/ and search for "torrust" on the right side search box:
We set the right tracker intervals in the tracker configuration (300 secs):
I don't see anything wierd in Grafana or Digital Ocean graphs:
The only reason I see is the latency. Maybe the tracker is too slow sending the response.
If I make a request with the tracker-client I get a fast response:
Maybe we could add a new metric:
upd_average_response_latency
cc @da2ce7
The text was updated successfully, but these errors were encountered: