# Server limits and rate limits

> The sizes, counts and request rates that apply to servers, their files, backups, databases and actions.

Source: https://docs.coritan.com/managed-containers/limits/

This page lists every fixed limit on a server, with what happens when you reach it. The plan sets the rest, and the page that covers each feature explains how to work within it.

## Plan

The plan you order sets these. The **Resources** section of the server's **Settings** tab shows them, and [changing the plan](/billing/change-plan/) changes them.

| What | Limit |
| --- | --- |
| **Memory**, **Disk** and **CPU** | Set by the plan. |
| Ports | **Port slots**, including the primary port. Most plans allow 5. Over it: `Allocation limit reached (5). Cannot add more ports to this server.` |
| Databases | **Database slots**. Over it: `Database limit reached (3/3)`, with your count and the plan's limit. |
| Snapshot storage | Set by the plan, and pooled across the account. [How snapshot storage works](/snapshots/storage-allowance/) explains it. |
| Server name | 2–60 characters, chosen when you order. The dashboard has no way to rename a server. |

## Console

| What | Limit |
| --- | --- |
| Consoles open at once | 8 on one server and 32 across all servers, for each account. One more does not connect: its socket closes with code `4029`, and the page shows `Connection limit reached. Close other console sessions first.` |
| Command length | 1,000 characters. The console cuts a longer command at that length, and `POST /command` answers `422`. |
| Commands per second | 20 on one console. The console drops each command over that and shows `Slow down`. |
| Output kept on the page | The last 2,000 lines. |

## Rate limits

We count these actions per account and per server. Each limit covers a rolling window.

| Action | Most per window | Window |
| --- | --- | --- |
| Power actions: start, stop, restart and kill | 24 | 60 seconds |
| Wakes of a free server | 48 | 60 seconds |
| Software actions: changes, installs, addon updates, resource pack and Java settings changes, and Bedrock pack imports | 8 | 10 minutes |
| Compressing and extracting archives | 24 | 60 seconds |
| Downloads from a URL | 24 | 60 seconds |
| Import tests and starts | 12 | 5 minutes |
| New databases | 24 | 60 seconds |
| Backup restores | 8 | 5 minutes |

A request over the limit fails, and the dashboard shows `Too many requests for this action. Please wait and try again.` Through the API, the request answers `429`:

```json
{
  "detail": {
    "error": "rate_limited",
    "message": "Too many requests for this action. Please wait and try again.",
    "action": "container.power",
    "retry_after_seconds": 60
  }
}
```

`action` is `container.power`, `container.wake`, `container.software`, `container.file_compress`, `container.file_pull`, `container.import`, `container.database` or `container.backup_restore`. `retry_after_seconds` and the `Retry-After` header give the length of the window. A request refused this way does not count towards the limit.

Taking and restoring snapshots have no rate limit of their own. A server runs one snapshot or restore at a time instead.

Every API request also counts towards the limits for your account as a whole, which [Rate limits](/api/rate-limits/) describes.

## Files

| What | Limit |
| --- | --- |
| Path | 1,024 characters. Over it: `Path is too long`. |
| File or folder name | 255 characters, with no `/`. Over it: `That file name is too long for the filesystem.` |
| Items in one action | 200, such as files to delete or move at once. Over it: `Cannot operate on more than 200 items at once`. |
| Upload in the dashboard | 100 MB per file. Over it: `File exceeds maximum upload size of 100 MB`. Upload larger files over [SFTP](/managed-containers/sftp/). |
| Saving a text file | 8 MB. Over it: `File is larger than 8 MB`. |
| Opening a file in the editor | 2 MB. A larger file downloads instead. |
| Download from a URL | A public `http` or `https` address, up to 2,048 characters. |
| Extracting an archive on a free server | 1 GB. |
| Changing files | Not while the server is installing or being moved: `File changes are paused while the server is installing.` |

[Manage server files](/managed-containers/files/) covers each action.

## Import

| What | Limit |
| --- | --- |
| Files and folders | 250,000 in the folder you import. |
| One file | No larger than the server's disk. A larger file is skipped. |
| Listing the remote folder | 60 seconds for a test, 10 minutes for an import. |
| Length of an import | 6 hours. After that: `Import timed out`. |
| Failed files | 200. After that: `Stopped after 200 files could not be copied`. |
| Imports at once | One per server. |

[Import a server from another host](/managed-containers/import/) explains the import.

## Snapshots

| What | Limit |
| --- | --- |
| Snapshot name | 191 characters. |
| **Leave out** patterns | 50, each up to 255 characters and 4,000 characters in all. |
| Snapshots or restores at once | One per server. |
| Time to finish | 12 hours. A snapshot still unfinished then is marked failed. |
| Download link | Works for 6 hours by default. |
| Free servers | Enough storage for one snapshot, and no download. |
| Storage | The account's snapshot allowance. [How snapshot storage works](/snapshots/storage-allowance/) explains what happens when it is full. |

## Backups

| What | Limit |
| --- | --- |
| New backups | None. Snapshots have replaced backups, and creating one answers `410`. |
| Download link | Works for 10 minutes. |
| Restores | 8 per server in 5 minutes. |

## Databases

| What | Limit |
| --- | --- |
| Databases per server | The plan's **Database slots**. Free servers have none. |
| Name suffix | Lowercase letters, digits and `_`, up to 48 characters. |
| Password | 24 random characters, set by us. |

## Schedules

| What | Limit |
| --- | --- |
| Schedules per server | 25. Over it: `This server already has the maximum of 25 schedules. Delete one before creating another.` |
| Tasks per schedule | 25. Over it: `A schedule can hold at most 25 tasks.` |
| How often a schedule runs | At most once every 60 seconds. |
| Name | 120 characters. |
| Command in a task | 1,000 characters. Over it: `Command must be at most 1000 characters.` |
| Delay before a task | 24 hours (86,400 seconds). Over it: `Task delay cannot exceed 24 hours.` |
| Run history | The last 20 runs in the dashboard, and up to 100 through the API. |
| Free servers | No schedules. |

## Ports

| What | Limit |
| --- | --- |
| Ports on the shared address | The plan's **Port slots**, from the range 10000–40000. Port `25565` is reserved there. |
| Ports on a floating IP | 16, from 1024 to 65535. They do not count against the plan's limit. |
| Note on a port | 64 characters. |
| Managed ports | Do not count against the plan's limit. |

## Users

| What | Limit |
| --- | --- |
| Users on one server | No fixed number. Each one needs a Coritan account. |

## Software

| What | Limit |
| --- | --- |
| Dependencies installed with an addon | 25, through the API. |
| Packs in one Bedrock file | 25. |
| Resource pack link | 2,048 characters. |
| Resource pack prompt | 1,000 characters. |
| Resource pack SHA-1 | 40 hexadecimal characters. |
| Java memory | From half the plan's memory (at least 1024 MB) to the whole plan, in steps of 256 MB. The default is 80% of the plan, or 2048 MB on a free server. |

## SFTP

| What | Limit |
| --- | --- |
| Port | `2022`. |
| Sign-in | Your account password only. No SSH keys and no two-factor code. |
| Suspended or locked server | Every sign-in is refused. |

## Free servers

Free servers sleep when nobody plays, and leave out backups, databases, schedules and snapshot downloads. [How free servers work](/managed-containers/free-servers/) lists every difference.

## Related

- [Container Apps](/managed-containers/)
- [Rate limits](/api/rate-limits/)
- [Troubleshoot servers](/managed-containers/troubleshooting/)
