[tor-bugs] #6752 [Tor]: TestingTorNetwork doesn't lower the dir fetch retry schedules
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Feb 26 20:14:31 UTC 2013
#6752: TestingTorNetwork doesn't lower the dir fetch retry schedules
--------------------------------------+-------------------------------------
Reporter: arma | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: Tor: 0.2.4.x-final
Component: Tor | Version:
Keywords: tor-client small-feature | Parent: #7172
Points: | Actualpoints:
--------------------------------------+-------------------------------------
Comment(by karsten):
Okay, I start seeing the issue. I have a Shadow network with five
authorities that start at minutes 0, 5, 10, 15, and 25, and a client that
starts at minute 0. With improved logging, I can now see how the client
uses a schedule of 0, 60, 300, ... seconds to retry failed downloads.
Here's what confused me in the first place. Every 180 seconds, a client
says "Application request when we haven't used client functionality
lately. Optimistically trying directory fetches again." in its logs,
resets download schedules, and tries all directory fetches again. Non-
clients don't do that, probably because there's no Shadow thing making an
application request. Which is bad, because they don't cache directory
information then. However, this 180-second thing made the problem look
not too bad, because 3 or even 10 minutes aren't much in a 5 minute
consensus schedule. But I think we need to fix this.
I'll look more into the issue tomorrow and hopefully come up with a patch.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6752#comment:27>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list