ReferenceBlueprint spec
Resource limits
A plan, or the keys memoryLimit and cpuLimit, set the memory limit and the CPU limit of each container.
A plan gives a memory limit and, for a service, a CPU limit.
1 / 4
Each container that Ferry runs gets a memory limit and a CPU limit. This applies to each instance and each job run of a service, and to each datastore.
The keys
| Key | Type | Default | Ferry setting and notes |
|---|---|---|---|
plan | string | none | The instance type of Render. See Plans of a service and Plans of a datastore. |
memoryLimit | string or integer | none | memory_limit_mb, a Ferry key. It replaces the memory of the plan. |
cpuLimit | string or number | none | cpu_limit, a Ferry key. It replaces the CPU of the plan. |
An entry can have a plan, the two keys, or all three. See memoryLimit and cpuLimit.
The server defaults
The defaults come from ferryd --default-memory-limit and --default-cpu-limit. They are 512 MiB and 1 CPU unless the operator changed them. With the value 0, there is no limit. See Server options.
Resource limits explains how Ferry applies the limits.