[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 robgjansen):

 Yeah, you're right, I wasn't very clear. I was trying to suggest something
 similar to a timestamp per cell like we have with circuit queues. How
 about we keep a timestamp queue on the streams. We append a timestamp for
 every N bytes written from the circuit to the edge buffer, and then pop
 the head of the timestamp queue after we flush N bytes. Will this allow us
 to track how long every N byte chunk has been waiting in the buffer?

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10169#comment:4>
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