Docs cipi.yml Web panel API MCP Guides Compare GitHub Telegram channel
  1. Docs
  2. Apps
  3. Limits & suspension

Limits & suspension

Cap CPU, memory and disk per app; suspend and resume apps.

Apps

Cap what one app can use, so a busy or misbehaving app cannot starve the others.

bash
cipi app limits myapp                                   # show
cipi app limits myapp --fpm-max-children=20 --memory-limit=256M
cipi app limits myapp --octane-workers=4 --worker-procs=3
cipi app limits myapp --disk=10                          # soft limit, GB
cipi app limits myapp --disk=none
FlagControls
--fpm-max-childrenMaximum PHP-FPM processes (FPM apps)
--memory-limitPHP memory_limit
--octane-workersOctane workers (Octane apps)
--worker-procsQueue worker processes
--diskSoft disk limit for files + database, in GB, or none

Soft disk limit#

No app has one unless you set it. It never blocks the app: it drives the monitor.

UsageResult
Below 90%Nothing
90% of the limitWarning
Over the limitCritical alert, repeated every 4 hours
Back underRecovery notice

cipi disk shows usage next to the limit. The limit is kept outside cipi.yml on purpose: a repository cannot raise the space its server grants it. Also via REST (GET|PUT /api/apps/{name}/limits) and the panel.

Suspend an app#

Take an app offline without deleting anything: for unpaid invoices, maintenance or a staging site you want dark.

bash
cipi app suspend myapp
cipi app unsuspend myapp
While suspended
Every requestA static 503 page; PHP never runs
HTTPSCovered too
Certificate renewalsKeep working
Vhost changes (aliases, PHP, SSL)Respect the suspension
cipi app list, cipi domainsMark the app as suspended

Also from the REST API (POST /api/apps/{name}/suspend), cipi-cli and the WHMCS module.

Need a private preview instead of a closed site? Use basic auth: the app runs, behind a password.