[tor-bugs] #21312 [Obfuscation/Snowflake]: snowflake-client is pegged at 100% cpu

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 15 03:49:14 UTC 2018


#21312: snowflake-client is pegged at 100% cpu
-----------------------------------+------------------------------
 Reporter:  arlolra                |          Owner:  arlolra
     Type:  defect                 |         Status:  needs_review
 Priority:  High                   |      Milestone:
Component:  Obfuscation/Snowflake  |        Version:
 Severity:  Major                  |     Resolution:
 Keywords:                         |  Actual Points:
Parent ID:                         |         Points:
 Reviewer:                         |        Sponsor:
-----------------------------------+------------------------------

Comment (by arlolra):

 > Perhaps "Pure virtual method called"? I'm not sure.

 Well, `CGO_DestroyPeer` doesn't appear to be thread-safe; so let's fix
 that.  The client is currently defaulting to 1 concurrent peer, which
 would explain why it doesn't hit this issue, if that's the cause.  The
 proxies, which are handling multiple peers, each of which are voluntarily
 exiting every 30s of inactivity, seem like they could be hitting some
 contention there, but possibly not at the rate things are failing?

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


More information about the tor-bugs mailing list