[tor-bugs] #5650 [Tor]: Tor hogging CPU
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Apr 10 23:32:18 UTC 2013
#5650: Tor hogging CPU
-----------------------+----------------------------------------------------
Reporter: One Sock | Owner: nickm
Type: defect | Status: needs_review
Priority: major | Milestone: Tor: 0.2.4.x-final
Component: Tor | Version:
Keywords: tor-relay | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
Changes (by nickm):
* status: assigned => needs_review
Comment:
Okay, it looks like this is happening while we get a write event on a
connection in state OR_CONN_STATE_TLS_SERVER_RENEGOTIATING. We then call
"connection_or_handle_read", since we expect that we're in read-blocked-
on-write state. But in fact there is nothing to read.
I have a more or less totally untested fix in my branch "bug5650" in my
public repository. It's against 0.2.3. It needs testing!
I'll also attach it as a patch. Please let me know if it stops this bug,
or breaks the server entirely, or what.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5650#comment:13>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list