FerryDocs

When a new limit applies

A new limit of a service applies at the next deploy or restart.

Edit on GitHub
restartSettingslimit: 512 MiBSnapshotof the live deployInstance512 MiBJob run512 MiB

Each container of the service starts with the limits of the snapshot.

1 / 4

A deploy or a restart saves the limits in its , with the image, the environment and the command. All that starts a container later uses the live snapshot.

Apply a new limit

A restart is sufficient. It uses the live image again and builds nothing.

Terminal
ferry update api --memory 2G
ferry restart api --follow

The deploy log shows the limits of the new instances.

Deploy log (excerpt)
==> Using port 10000 (default port)
==> Limits: 2 GiB memory, 1 CPU per instance
==> Starting 1 instance(s)

On this page