[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #9645 [Tor]: Tor client goes berserk downloading microdescriptors forever, if you rm -rf its datadir
#9645: Tor client goes berserk downloading microdescriptors forever, if you rm -rf
its datadir
--------------------+----------------------------------
Reporter: arma | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: unspecified
Component: Tor | Version:
Keywords: | Actual Points:
Parent ID: | Points:
--------------------+----------------------------------
Run your Tor client, with a datadirectory pointed to a new (empty or
nonexistent) directory.
Once the Tor client has made the datadir and satisfied itself about its
permissions, but while it's still bootstrapping, rm -rf the datadirectory.
It will produce an unending stream of
{{{
Sep 02 00:38:26.849 [warn] Couldn't open "/tmp/tordatadir/cached-
microdescs.new" (/tmp/tordatadir/cached-microdescs.new) for writing: No
such file or directory
Sep 02 00:38:26.849 [warn] Couldn't append to journal in /tmp/tordatadir
/cached-microdescs.new: No such file or directory
}}}
which is not surprising since the directory isn't there anymore. The sad
part though is:
{{{
Sep 02 00:28:59.198 [debug] count_usable_descriptors(): 4183 usable, 0
present (microdescs).
Sep 02 00:28:59.207 [debug] count_usable_descriptors(): 917 usable, 0
present (microdesc exits).
Sep 02 00:28:59.215 [debug] count_usable_descriptors(): 917 usable, 0
present (microdesc exits).
Sep 02 00:29:00.812 [debug] count_usable_descriptors(): 4183 usable, 0
present (microdescs).
Sep 02 00:29:00.819 [debug] count_usable_descriptors(): 917 usable, 0
present (microdesc exits).
Sep 02 00:29:00.825 [debug] count_usable_descriptors(): 917 usable, 0
present (microdesc exits).
Sep 02 00:29:12.586 [debug] count_usable_descriptors(): 4183 usable, 0
present (microdescs).
Sep 02 00:29:12.593 [debug] count_usable_descriptors(): 917 usable, 0
present (microdesc exits).
Sep 02 00:29:12.600 [debug] count_usable_descriptors(): 917 usable, 0
present (microdesc exits).
[...]
Sep 02 00:35:29.524 [debug] count_usable_descriptors(): 4183 usable, 0
present (microdescs).
Sep 02 00:35:29.532 [debug] count_usable_descriptors(): 917 usable, 0
present (microdesc exits).
Sep 02 00:35:29.539 [debug] count_usable_descriptors(): 917 usable, 0
present (microdesc exits).
}}}
It seems like it's stuck in a loop realizing it doesn't have them,
fetching them, failing to write them, realizing it doesn't have them,
repeat.
Found while trying to reproduce #9639.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9645>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs
- Follow-Ups:
- Re: [tor-bugs] #9645 [Tor]: Tor client goes berserk downloading microdescriptors forever, if you rm -rf its datadir
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #9645 [Tor]: Tor client goes berserk downloading microdescriptors forever, if you rm -rf its datadir
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #9645 [Tor]: Tor client goes berserk downloading microdescriptors forever, if you rm -rf its datadir
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #9645 [Tor]: Tor client goes berserk downloading microdescriptors forever, if you rm -rf its datadir
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #9645 [Tor]: Tor client goes berserk downloading microdescriptors forever, if you rm -rf its datadir
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #9645 [Tor]: Tor client goes berserk downloading microdescriptors forever, if you rm -rf its datadir
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #9645 [Tor]: Tor client goes berserk downloading microdescriptors forever, if you rm -rf its datadir
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #9645 [Tor]: Tor client goes berserk downloading microdescriptors forever, if you rm -rf its datadir
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #9645 [Tor]: Tor client goes berserk downloading microdescriptors forever, if you rm -rf its datadir
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #9645 [Tor]: Tor client goes berserk downloading microdescriptors forever, if you rm -rf its datadir
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #9645 [Tor]: Tor client goes berserk downloading microdescriptors forever, if you rm -rf its datadir
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #9645 [Tor]: Tor client goes berserk downloading microdescriptors forever, if you rm -rf its datadir
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #9645 [Tor]: Tor client goes berserk downloading microdescriptors forever, if you rm -rf its datadir
- From: Tor Bug Tracker & Wiki
- Re: [tor-bugs] #9645 [Tor]: Tor client goes berserk downloading microdescriptors forever, if you rm -rf its datadir
- From: Tor Bug Tracker & Wiki