Editing OpenRC
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 187: | Line 187: | ||
Setting ''ulimit'' and nice values per service can be done through the ''rc_ulimit'' variable. | Setting ''ulimit'' and nice values per service can be done through the ''rc_ulimit'' variable. | ||
− | Under Linux, OpenRC can use cgroups for process management as well. Once the kernel is configured appropriately, the ''rc_cgroup_mode'' setting in | + | Under Linux, OpenRC can use cgroups for process management as well. Once the kernel is configured appropriately, the ''rc_cgroup_mode'' setting in ''/etc/rc.conf'' should be used to control whether ''cgroups'' version one, two, or both are used. The default is to use both if they are available. |
− | By changing certain settings in the service's ''conf.d'' file limits can be enforced per service. These settings are documented in detail in the default | + | By changing certain settings in the service's ''conf.d'' file limits can be enforced per service. These settings are documented in detail in the default ''/etc/rc.conf'' under LINUX CGROUPS RESOURCE MANAGEMENT. |
===Dealing with Orphaned Processes=== | ===Dealing with Orphaned Processes=== |