Add jail cpu/memory limit capability
Jails are one of the best things about FreeNAS! However, we all have jails that can sometimes become memory intensive for whatever reason and bring the system to a crawl. It's also a clear way to degradate a FreeNAS box should a jail ever be hacked and set to eat up all memory and cpu resources.
I wish to request a feature be added to the jails configuration screen to allow customers the ability to set limits on a jails memory and resources. This will probably need an additional feature to enable 'rctl' and/or a concurrence among the team to enable this by default.
Benfits: - ability to strap a jails resource down to avoid a jail degradating FreeNAS or a creating a denial of service situation.
#2 Updated by Jordan Hubbard almost 6 years ago
- Category set to 38
- Assignee set to John Hixson
- Target version set to 49
Hmmm. I was about to yell "inconceivable!" on this one, but it looks like it's actually possible using rctl or something (https://www.freebsd.org/doc/handbook/security-resourcelimits.html). Never tried it though.