I want a jail that can't allocate more than 512MB memory and ist not able to consume more than 25% of the cpu.
The FreeBSD builtin jails have no options for resource limiting. Check jail.conf(5) and jail(8).
I have found that you can limit resources for specific users according to 13.13 Resource Limits in the Handbook.
Is this the only way to limit resources for jails if I run them as specific user who is limited by /etc/login.conf?
Are there "cleaner" ways to achieve a resource limited jail?
The FreeBSD builtin jails have no options for resource limiting. Check jail.conf(5) and jail(8).
I have found that you can limit resources for specific users according to 13.13 Resource Limits in the Handbook.
Is this the only way to limit resources for jails if I run them as specific user who is limited by /etc/login.conf?
Are there "cleaner" ways to achieve a resource limited jail?