You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can be confirmed by examining `memory.stat` in the cgroup home. Likewise memory reported by a process may be higher than memory reported by cgroup, this is because cgroup only accounts for memory uniquely reserved by the application. A fork shares its parent's memory pages and copies-on-write at which point the newly claimed memory is charged to the cgroup.
397
397
398
+
## CloudLinux terminology
399
+
400
+
Both ApisCP and CloudLinux utilize cgroups for resource enforcement. The table below summarizes the relationships between CloudLinux limit variables and ApisCP's equivalent settings.
|[VMEM](https://docs.cloudlinux.com/limits/#virtual-memory-limit)|[limit_as_soft](https://gitlab.com/apisnetworks/apnscp/-/blob/master/resources/playbooks/roles/system/limits/templates/apnscp.conf.j2)| Does not affect active memory usage, results in undefined behavior in complex software such as [v8](https://github.com/nodejs/node/issues/25933). |
409
+
|[IO](https://docs.cloudlinux.com/limits/#io)|[cgroup,writebw](#io) + [cgroup,readbw](#io)| Write/read bandwidth separated to facilitate resource tracking on limited endurance disks. |
410
+
|[IOPS](https://docs.cloudlinux.com/limits/#iops)|[cgroup,writeiops](#io) + [cgroup,readiops](#io)| Write/read IOPS separated to facilitate resource tracking on limited endurance disks. |
411
+
| — |[cgroup,ioweight](#io)| Controls IO priority similar to CPU weight. Requires CFQ/BFQ IO elevator (auto-detection). |
0 commit comments