[tor-bugs] #9862 [Stem]: Tor hangs if you ask it to open too many ORPorts
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Oct 2 20:12:11 UTC 2013
#9862: Tor hangs if you ask it to open too many ORPorts
------------------------+--------------------------------
Reporter: zwol | Owner: atagar
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.5.x-final
Component: Stem | Version: Tor: 0.2.4.17-rc
Resolution: | Keywords: tor-relay
Actual Points: | Parent ID:
Points: |
------------------------+--------------------------------
Comment (by atagar):
> ... but the fact that Stem needs to parse log messages in the first
place seems like the real bug here. What exactly is it doing with them
Stem is using them to figure out when tor has bootstrapped enough to reach
a usable state. It's also used so we can raise an exception if it fails
before that.
> ... and can we think of a better technique?
Suggestions welcome. Personally I'm not a fan of closing file descriptor
N. Having the python process consume the rest of stdout (even if it's with
a null reader by default) is preferable since it's both less hacky and
users might want it. The only trick is doing this without requiring a
daemon thread.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9862#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list