What is Nostr?
neini 🐖 /
npub1hdx…80dv
2023-08-03 10:16:00

neini 🐖 on Nostr: TIL: systemd-run can also limit memory usage and that includes page cache usage (= ...

TIL: systemd-run can also limit memory usage and that includes page cache usage (= not polluting the cache just because i make a backup)

systemd-run --scope --property=MemoryLimit=500M -- sh -c do-the-backup.sh

(it's cgroups doing the thing, not systemd-run)
Author Public Key
npub1hdx7t4z03p4938v0wujf43xtgkwlaeadclm7wywa428klnffwx5qrv80dv