diff options
| author | eunhhu <[email protected]> | 2026-10-02 06:15:08 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-10-02 06:15:08 +0100 |
| commit | 28e51430cc860adc8d8f384d7662d85ab09dc5c7 (patch) | |
| tree | 9e1c35aa00b515a50f11d4ca82a22efad95f1252 /core/module-list.h | |
| parent | 8450156e98ee49484f3fadad791d5684f9576f8b (diff) | |
| download | pure-28e51430cc860adc8d8f384d7662d85ab09dc5c7.tar.gz pure-28e51430cc860adc8d8f384d7662d85ab09dc5c7.zip | |
Run experiments under a memory guard, so they cannot freeze the Pi
The Pi has 8 GiB, zram swap and no OOM daemon, and the user's systemd
holds no memory controller: a run that outgrows its memory has every
program's code evicted before the kernel kills anything, and the
machine stops answering. It was reset twice so (a run held 13 GiB of
output it should have streamed). guard.py runs a command in a session
of its own and kills the session when it holds more than --most MiB
(3072) or the machine has less than --floor MiB available (1024, a
tmpfs filled counts), and stops what it leaves running.
Diffstat (limited to 'core/module-list.h')
0 files changed, 0 insertions, 0 deletions
