Opened 5 years ago

Closed 20 months ago

#13140 closed defect (wontfix)

ooniprobe should realise that the system is out of memory

Reported by: hellais Owned by: hellais
Priority: Medium Milestone:
Component: Archived/Ooni Version:
Severity: Normal Keywords: archived-closed-2018-07-04
Cc: poly@… Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Currently if you run a test like bridge_reachability and the system runs out of memory the kernel will start randomly killing tor processes. ooniprobe should detect that it is running out of memory and:

1) Print a warning message

2) Stop starting new measurements until the memory usage goes below the critical level

Child Tickets

Change History (4)

comment:1 Changed 5 years ago by poly

Cc: poly@… added

comment:2 Changed 5 years ago by poly

Status: newneeds_review

This patch ( 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.

comment:3 Changed 2 years ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

comment:4 Changed 20 months ago by teor

Keywords: archived-closed-2018-07-04 added
Resolution: wontfix
Status: needs_reviewclosed

Close all tickets in archived components

Note: See TracTickets for help on using tickets.