[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs