Package features and limits
This page lists every field of a hosting package: resource limits, count quotas, features, PHP versions, and default access. For each field you get the type, unit, initial value in the form, and its effect on the server. How to create and change packages in the GUI is covered in Packages.
General rules
- Every limit and quota is an integer. The panel only rejects negative values (
cp.package_invalid). 0means unlimited for every limit and quota, including disk and inodes, unless the table says otherwise (entry processes, Redis memory, and Memcached memory).- In the package form, every limit and quota has an Unlimited checkbox. Checking it sends
0. Unchecking it restores the last number. - The Form column is the initial value in Packages › Create package. Unlimited means the unlimited box is checked. A package created through the API without that field gets
0. - Changing a package reapplies its limits to every active and suspended account on it through jobs, one job per account. In the GUI, uncheck Also update the N account(s) on this package now to only save the package. Through the API, use
PUT /v1/packages/{id}?apply=0. Existing accounts only get the new limits when the package is applied to them again. - A package that is still used by active or suspended accounts cannot be deleted. Move or terminate those accounts first.
- An account can have its own override limits on top of the package limits (for example a temporary limit increase). If it does, those limits are enforced.
Resource limits
Resource limits are enforced by the isolation driver on each server: LVE on CloudLinux servers, systemd slices and filesystem quotas on generic servers.
| Field (API) | GUI label | Type | Unit | Form | CloudLinux | Generic | Effect |
|---|---|---|---|---|---|---|---|
CPUPercent | CPU (%) | int | percent of one core | 100 | LVE SPEED | CPUQuota | CPU usage limit. 100 = one full core, 200 = two cores |
MemoryMB | RAM (MB) | int | MB | 1024 | LVE PMEM | MemoryMax (and MemoryHigh at 90% if the server has swap) | Processes that exceed the limit are killed (OOM) |
IOKBps | IO (MB/s) | int | KB per second in the API, MB/s in the GUI | Unlimited | LVE IO | IOReadBandwidthMax and IOWriteBandwidthMax | Disk read and write speed limit |
IOPS | IOPS | int | operations per second | Unlimited | LVE IOPS | IOReadIOPSMax and IOWriteIOPSMax | Limit on the number of IO operations |
NProc | Processes | int | processes | 100 | LVE NPROC | TasksMax | Limit on the account's total processes and threads |
EntryProcesses | Entry processes | int | processes | 20 | LVE EP | PHP-FPM pool pm.max_children | Limit on concurrent PHP processes, that is, PHP requests served at the same time |
DiskMB | Disk (MB) | int64 | MB | 5120 | filesystem quota | filesystem quota | Disk quota of the account home (soft limit = hard limit). Writes fail once it is full. 0 = no quota |
Inodes | Inodes | int64 | files | 250000 | filesystem quota | filesystem quota | Limit on the number of files and folders. 0 = unlimited |
BandwidthMB | Bandwidth/month (MB) | int64 | MB per month | Unlimited | – | – | Reference for the current month's transfer usage. Counted from the web server access logs per website since the 1st of the month |
VisitsPerMonth | Visits/month | int64 | visits per month | Unlimited | – | – | Monthly visits across all websites of the account. One visit = one unique visitor (IP + user agent, bots excluded) per day, counted by the visitor statistics collector from the access logs. Reported only |
IO in MB/s
The GUI takes and shows the IO limit in MB/s, the same as CloudLinux LVE Manager. The API still stores IOKBps in KB per second. The conversion is 1 MB/s = 1024 KB/s, so "IOKBps": 10240 shows as 10 MB/s. IO usage below 1 MB/s is still shown in KB/s.
INFO
On generic servers, changing DiskMB or Inodes to 0 removes the account's old filesystem quota, so the account is truly unlimited.
WARNING
Entry processes 0 does not mean unlimited for PHP. The account's PHP-FPM pool uses 5 workers when EntryProcesses is 0. On CloudLinux, 0 means LVE uses its default EP value. Set a clear number for production packages.
WARNING
On CloudLinux servers, NProc must be greater than EntryProcesses + 15 when both are set. Example: EP 20 needs an NProc of at least 36. Otherwise applying the limits is refused.
INFO
BandwidthMB and VisitsPerMonth are currently used for display and usage reports (panel, billing API). The panel does not suspend or block accounts automatically when they are exceeded. Visit usage is reported by GET /v1/accounts/{id}/visits and, for billing, as visits, visitsLimit, and visitsExceeded in GET /v1/usage/accounts. An account override limit replaces the package limit. See Visitor statistics.
Count quotas
| Field (API) | GUI label | Type | Form | Effect |
|---|---|---|---|---|
Domains | Domains | int | 1 | Primary domain plus addon domains. Creating a new domain is refused when the quota is used up |
Subdomains | Subdomains | int | Unlimited | Number of subdomains of the account's main domain |
ParkedDomains | Parked domains | int | Unlimited | Number of parked domains (aliases). The www. name parked with a domain, and www. of the account's own domains, do not count. Parking a new domain, or adding an extra alias in Add domain, is refused when the quota is used up |
Databases | Database | int | 5 | Number of databases, MariaDB and PostgreSQL combined |
Mailboxes | Mailbox | int | 10 | Number of email mailboxes |
FTPAccounts | FTP accounts | int | 5 | Number of additional FTP accounts |
CronJobs | Cron jobs | int | 10 | Number of cron jobs |
EmailsPerHour | Outgoing email/hour (account) | int | Unlimited | Limit on outgoing email recipients per hour for the whole account |
EmailsPerHourMailbox | Outgoing email/hour (per mailbox) | int | Unlimited | Default limit on outgoing email recipients per hour for each mailbox |
Email limits count recipients, not messages. One email to 10 addresses counts as 10. Email over the limit is temporarily rejected by the mail server (4xx code), so the sending program queues it and retries later.
TIP
On import from cPanel, the panel compares the archive contents with the target package. An account size above the disk quota, a file count above the inode quota, and databases and mailboxes above their quotas block the import. Extra FTP accounts and cron jobs are skipped and listed in the report. Parked domains above the quota only give a warning: they are still imported, but new parked domains are refused until the account is below the quota.
Features
| Field (API) | GUI label | Type | Default | Effect when on |
|---|---|---|---|---|
SSH | SSH | bool | off | The account gets a jailed SSH shell and the Terminal in the client panel. Without this feature, SSH access is SFTP only (if the account's SFTP/SSH access is on) |
Softaculous | Softaculous | bool | off | The client can install apps through Softaculous |
AccelerateWP | AccelerateWP | bool | off | Marks the CloudLinux AccelerateWP feature for the package. Availability depends on the CloudLinux license on the server |
NodeJS | Node.js | bool | off | The client can create Node.js apps |
Python | Python | bool | off | The client can create Python apps |
Ruby | Ruby | bool | off | The client can create Ruby (Rack) apps |
RemoteDB | Remote database | bool | off | The client can allow remote hosts to connect to MariaDB (Remote MySQL): every database user is copied to the allowed hosts and the firewall opens port 3306 for them. Also needs the account's remoteDb access, which is on by default |
Git | Git | bool | off | The client can use Git deploy with a push webhook |
ExternalBackup | External backup (client storage) | bool | off | The client can add up to 5 own backup storages (SFTP, FTP, S3, Cloudflare R2, Google Drive) and up to 5 schedule rules |
Redis | Redis object cache | bool | off | The client can turn on a per-account Redis object cache (socket in the home directory) |
RedisMemoryMB | Redis memory per account (MB) | int | 0 | Memory limit of the account's Redis instance in MB. 0 = 64 MB, maximum 2048 |
Memcached | Memcached object cache | bool | off | The client can turn on a per-account Memcached object cache (socket in the home directory, no TCP/UDP) |
MemcachedMemoryMB | Memcached memory per account (MB) | int | 0 | Memory limit of the account's Memcached instance in MB. 0 = 64 MB, maximum 2048 |
NoIPv6 | IPv6 (AAAA records), inverted | bool | off (IPv6 allowed) | When true, accounts on the package get no AAAA records and no IPv6 address. The GUI checkbox is checked when this field is false. Older packages without this field allow IPv6 |
Turning a feature off after it was used does not delete data. For example, existing Node.js apps can still be stopped and deleted, but cannot be changed or created.
PHP versions
| Field (API) | Type | Default | Effect |
|---|---|---|---|
AllowedPHPVersions (allowedPhpVersions in JSON) | list of strings | empty | PHP versions the account may choose. Empty = every version installed on the account's server, including EOL versions, old PHP built by MoorCP, and CloudLinux alt-php. Filled = only those versions. The server's default version is always allowed |
The package form in the GUI no longer has a PHP versions field. Packages created in the GUI use an empty list, so every installed version is available. When a package is edited in the GUI, its existing list is kept. To restrict versions, send allowedPhpVersions through the API.
Default access
Default access is copied to a new account when it is created. After that, access is set per account on the account page (or with moorctl accounts access), and changing the package does not change the access of existing accounts.
| Field (API) | Type | API default | Effect when on |
|---|---|---|---|
manageFromBilling | bool | on | The account can be managed from the billing system. When off, an active account's status becomes management-disabled |
sftpSsh | bool | on | SFTP login (and an SSH shell if the package has the SSH feature) |
ftp | bool | off | FTP login |
emailLogin | bool | on | The account's mailboxes can log in over IMAP, POP3, and SMTP |
remoteDb | bool | on | The client may allow remote database hosts. Only has an effect when the package has the RemoteDB feature. Turn it off to block remote database access for one account |
appInstall | bool | on | The client may install apps (Softaculous, WordPress) |
INFO
Packages created in the GUI use default access with FTP on. Packages created through the API without defaultAccess use the API default column above.
Other fields
| Field (API) | Type | Description |
|---|---|---|
name | string, max 80 | Package name, required, unique |
billingId | string, max 64 | Product ID in the billing system. Used to look up the package with ?billingId= |
BillingOwner | string | Filled automatically when the package is created by a billing API key. Only the same owner may change or delete it |
Example JSON for POST /v1/packages or moorctl packages create -f package.json:
{
"name": "Business",
"billingId": "hosting-business",
"limits": { "CPUPercent": 200, "MemoryMB": 2048, "IOKBps": 10240, "IOPS": 1024,
"NProc": 100, "EntryProcesses": 30, "DiskMB": 20480, "Inodes": 500000, "BandwidthMB": 0, "VisitsPerMonth": 0 },
"quotas": { "Domains": 5, "Subdomains": 20, "ParkedDomains": 10, "Databases": 20, "Mailboxes": 50,
"FTPAccounts": 10, "CronJobs": 20, "EmailsPerHour": 500, "EmailsPerHourMailbox": 100 },
"features": { "SSH": true, "Softaculous": true, "Git": true, "NodeJS": true, "Python": true,
"Redis": true, "RedisMemoryMB": 128, "ExternalBackup": true },
"allowedPhpVersions": ["8.1", "8.2", "8.3"],
"defaultAccess": { "manageFromBilling": true, "sftpSsh": true, "ftp": true,
"emailLogin": true, "remoteDb": true, "appInstall": true }
}