Solved Some clarification on resource control

From https://wiki.freebsd.org/Hierarchical_Resource_Limits
There are two seemingly contradictory statements on ability to change resource controls of processes.

Quoting:

Resource limits in FreeBSD, as implemented currently with setrlimit(2), have a number of drawbacks:

3. There is no way to change limits without restarting processes. As it is now, after changing limits in /etc/login.conf, they won't apply until the user logs out and then logs in again.

And further,

This is what RCTL provides:

3. Resource limits are stored as RCTL rules, ... When a rule is added, it is enforced immediately, without the need to restart any process.

Confused what to deduce?
The first one is for process under a user account? And the next one is just for processes?
What about jailed processes and jails themselves?
 
Last edited by a moderator:
Back
Top