4 ms·
That's interesting way to do shared hosting, can jails limit by CPU time ?
by ilyt 3y ago
That's interesting way to do shared hosting, can jails limit by CPU time ?
- doublerabbit 3y agoYou can with rctl [0][1]. Another hack was one where you could use tcsh shell and /etc/login launching an application as a man in the middle to limit and launch a process with cpu limits. [0] https://klarasystems.com/articles/controlling-resource-limits-with-rctl-in-freebsd/ https://klarasystems.com/articles/controlling-resource-limit... [1] https://wiki.freebsd.org/Hierarchical_Resource_Limits https://wiki.freebsd.org/Hierarchical_Resource_Limits