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

Re: [tor-bugs] #13140 [Ooni]: ooniprobe should realise that the system is out of memory



#13140: ooniprobe should realise that the system is out of memory
-------------------------+--------------------------
     Reporter:  hellais  |      Owner:  hellais
         Type:  defect   |     Status:  needs_review
     Priority:  normal   |  Milestone:
    Component:  Ooni     |    Version:
   Resolution:           |   Keywords:
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+--------------------------
Changes (by poly):

 * status:  new => needs_review


Comment:

 This patch (https://github.com/TheTorProject/ooni-probe/pull/389) handles
 situation where system is running out of RAM (#13140). If memory is below
 the critical value (default 25 MB), no new tasks are allow to start.
 Memory utilization is re-checked every 20 seconds. This patch uses the
 psutil library, which is cross-platform but 200-300 kilobytes in size.

 Thanks to r2r0 for the help with this patch.

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