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

Tracker Checker (UDP): add command to monitor uptime #1178

Open
Tracked by #669
josecelano opened this issue Jan 10, 2025 · 0 comments
Open
Tracked by #669

Tracker Checker (UDP): add command to monitor uptime #1178

josecelano opened this issue Jan 10, 2025 · 0 comments
Labels
- Admin - Enjoyable to Install and Setup our Software - Developer - Torrust Improvement Experience Enhancement / Feature Request Something New

Comments

@josecelano
Copy link
Member

josecelano commented Jan 10, 2025

Parent issue: #669
Relates to: torrust/torrust-demo#26

https://newtrackon.com/ is reporting a 93% uptime for the live demo UDP tracker.

When you run netstat -su you see that apparently packets are not rejected.

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:

I have also added a new metric for the announce request proceessing time and it's low (under 10 ms):

image

The processing time does not include the time sending the response to the client. https://newtrackon.com/ is reporting 222 ms for the response, which is under the 10 seconds they have set for the timeout.

Therefore I don't know why the uptime is only 93%.

I want to implement a simple script which is a loop to do the same https://newtrackon.com/ does. It will make an announce request every 5 minutes printing to console:

  • The total number of timeout responses
  • Average response time
  • Last response time
  • Maximum response time
  • Miminum response time

cc @da2ce7

@josecelano josecelano added Enhancement / Feature Request Something New - Developer - Torrust Improvement Experience - Admin - Enjoyable to Install and Setup our Software labels Jan 10, 2025
@josecelano josecelano mentioned this issue Jan 10, 2025
22 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- Admin - Enjoyable to Install and Setup our Software - Developer - Torrust Improvement Experience Enhancement / Feature Request Something New
Projects
None yet
Development

No branches or pull requests

1 participant