[tor-bugs] #29078 [Core Tor/Nyx]: nyx values do differ from stem native example

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jan 13 23:11:28 UTC 2019


#29078: nyx values do differ from stem native example
--------------------------+-----------------------------------
 Reporter:  toralf        |          Owner:  atagar
     Type:  defect        |         Status:  needs_information
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Nyx  |        Version:  Tor: 0.3.5.7
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+-----------------------------------

Comment (by atagar):

 > If however the connections are shown then pressing "r" doesn't have any
 visible effect for no choosen resolver.

 That makes sense to some extent. If you wait long enough the numbers will
 correct themselves. Nyx slows down the rate at which it polls connection
 data when it takes a long time to get results so we don't put an overdue
 burden on your system...

 https://gitweb.torproject.org/nyx.git/tree/nyx/tracker.py#n569

 If it takes 20 seconds to query connection data then Nyx will back off so
 it only polls connection data every 2,000 seconds (every half hour). That
 said, Nyx should only do so after making three highly burdensome requests.

 Logging at a debug runlevel will tell you how long queries take to
 complete and when Nyx reduces its poll rate.

 > The error in that case still looks like that the inbound number aren't
 subtracted from the outbound number

 Sorry, without a local reproduction of an issue I can't really dig in. I
 just took a peek at the panel title stats and it looks right to me (not
 spotting any double counting).

 If you pause Nyx (so the panel does not populate with new connections)
 then count the number of connections labeled 'inbound' and 'outbound'
 shown in the panel are you saying that number does not match the panel
 title?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29078#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list