[tor-bugs] #10169 [Tor]: Extend OOM handler to cover channels/connection buffers

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Nov 15 23:42:30 UTC 2013


#10169: Extend OOM handler to cover channels/connection buffers
------------------------+----------------------------------------
     Reporter:  nickm   |      Owner:
         Type:  defect  |     Status:  new
     Priority:  major   |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-relay oom 024-backport
Actual Points:          |  Parent ID:
       Points:          |
------------------------+----------------------------------------

Comment (by nickm):

 Branch "bug10169_023" is a very hurried implementation of an approximation
 of this.

 What it is missing is:
   * it needs to aggressively free the bytes in the buffers rather than
 just marking the connections, to free up RAM faster.
   * it needs to count the bytes in the buffers as it's removing them, to
 know when it's freed 10% of the total allocations here.
   * probably something else; I'm in a hurry

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


More information about the tor-bugs mailing list