Elektrine lite

← Feed

@kittenroar@beehaw.org

Post #1384937

2025-12-16 19:51 UTC

systemd-run lets you run a command under some limitations, ie systemd-run --scope -p MemoryLimit=1000M -p CPUQuota=20% ./heavyduty.sh

Replies (1)

  • @kittenroar@beehaw.org 2025-12-16 19:52

    ulimit can also be used to define limits, but for a user rather than a process. This could protect you against, ie, a fork bomb

    Open ##1384938