Limits
How much one server holds, which limits are configurable, and what people see when they hit them.
There are three kinds of limits:
- Server capacity: how much one federation holds. Some of it is configurable.
- Product limits: what a person sees, such as message length or group size. The same in every federation, checked by both the app and the server.
- Rate limits: how many actions per second. They live in the server's memory, and a restart resets them.
Server
| What | How many | At the limit |
|---|---|---|
| Profiles, bots included, call guests not | 10,000 | A sign-in that would create a new profile fails. |
| Link call guests at once | 1024 | A new guest cannot join. |
Messages one profile keeps (--maximum-messages-per-profile) | 50,000 | That person's sends fail; everyone else keeps writing. Deleting messages for everyone frees room. |
| Contacts per profile | 1000 | A new contact is not added, nor is a phone book match. |
| Members of one channel | 10,000 | No more members can be added. |
Media of one profile (--media-quota-bytes) | 50 GiB | That person's new uploads fail. |
Media of the whole server (--media-storage-bytes) | 1 TiB | Only new uploads fail. |
One file (--media-file-bytes, can only be lowered) | 1 GiB | The file is not sent. |
There is no overall limit on the federation's chats or messages: messages take disk, not memory. Each profile's quota together with the rate limit bounds how fast and how far one person can fill the disk. How many gigabytes that is: the calculator.
Messages and chats
| What | How many |
|---|---|
| Message or caption text | 32,768 characters |
| Media in one message (album) | 10 |
| Editing one's own message | 48 hours |
| Deleting or forwarding at once | 100 messages |
| Scheduled messages in a chat | 100 per author; in a channel 100 shared by all publishers |
| Group members, owner included | 256 |
| Channel members | server capacity, 10,000 |
| Channels per person | 500 |
| Communities per person | 100 |
| Rooms in a community | 500 |
| Roles in a community | 100 |
| Voice room participants | up to 99, set per room |
| Bots per person | 20 (bot policy) |
Media
| What | How many |
|---|---|
| Photo | 64 MiB, up to 10,000 px per side |
| Video | 128 MiB, up to 10 minutes |
| File | 1 GiB |
| Voice message | 2 hours |
| Round video | 60 seconds, 16 MiB |
| Avatar | 8 MiB, up to 1024 px |
| Uploads at once per person | 32 |
Calls
| What | How many |
|---|---|
| Group call participants | 32 |
| Unfinished calls per person | 8 |
| Call links per person | 50 |
| A guest's messages and files in a call chat | 500 messages, 100 MB (a file up to 25 MB) |
Moderation and federation settings
| What | How many |
|---|---|
| Federation roles, built-in included | 50 |
| Filter words and phrases; domains | 500; 500 |
| Report reasons | 50, up to three levels |
| Rule languages | 8 |
| New direct chats with non-contacts per day | 50 by default, a role may give up to 10,000 |
| People without the adder as a contact added to groups and channels per day | 50 by default, a role may give up to 10,000 |
| Audit log and closed reports are kept | 365 days |
| Speech recognition per person per day | 1 hour by default, up to 24 hours |
The last three are set in the app (federation settings).
Rates
| Action | Burst, then |
|---|---|
| Sending, editing, deleting, pinning messages | 30, then 5 per second |
| Profile changes | 10, then 1 per 6 seconds |
| Reactions | 20, then 2 per second |
| Reports | 10, then 1 per 20 seconds |
| Link preview fetches | 20, then 1 per 2 seconds |
| Call guest joins and link pages from one address | 10 and 60 per minute |
Past a limit the command is refused before anything is stored, and the server says when it may be retried.
The full table of every limit, including technical frame sizes and the app's local store, is in the source.