Skip to content

Limits & Defaults ​

Every bound in the system, in one place. Config-adjustable limits live in [limits] (see the configuration reference); fixed limits are protocol constants or deliberate hard bounds.

Wire & parsing ​

LimitValueAdjustableNotes
Client message-tags budget4,094 Bmax_tag_bytesthe IRCv3 client limit, separate from the body; longer input gets 417 ERR_INPUTTOOLONG
Message-body budget512 Bmax_body_bytesclassic RFC 1459 line
Fatal frame length8,704 Bmax_line_byteslonger frames drop the connection; must be ≥ tags + body
S2S link frame16,384 Bfixedseparate budget for server links
UTF-8required—UTF8ONLY advertised; non-UTF-8 input is refused with FAIL <cmd> INVALID_UTF8 and never relayed

Connection lifecycle ​

LimitDefaultAdjustableConsequence when hit
TLS handshake time15 shandshake_timeout_secsconnection aborted
Registration time30 sregistration_timeout_secsdisconnect (Registration timeout)
Idle ping interval120 sping_interval_secsserver PINGs; second miss disconnects (Ping timeout)
Connections per IP10max_clients_per_ipfurther connections refused

Flood & queue controls ​

LimitDefaultAdjustableConsequence when hit
Inbound burst20 commandsrecv_bursttoken bucket —
Inbound sustained rate10 commands/srecv_ratedisconnect (Excess Flood)
Outbound SendQ2,048 linessendq_linesdisconnect (SendQ exceeded)
S2S link mailbox4,096 framesfixedlink dropped

Names & content ​

LimitValueAdjustableNotes
Nick length30fixedNICKLEN — enforced
Channel-name length50fixedCHANNELLEN — enforced
Topic length390fixedTOPICLEN — enforced (truncated)
Kick-reason length300fixedKICKLEN — enforced (truncated)
Away-reason length200fixedAWAYLEN — enforced (truncated)
Targets per PRIVMSG/NOTICE1fixedTARGMAX=PRIVMSG:1,NOTICE:1
Mode changes per MODE6fixedMODES=6
Ban/exception/invite entries100 per listfixedMAXLIST
Channels per client50max_channelsCHANLIMIT; opers exempt
MONITOR entries100fixedERR_MONLISTFULL beyond
SILENCE entries32fixedSILENCE=32; ERR_SILELISTFULL beyond
Metadata subscriptions20 keysfixedFAIL METADATA TOO_MANY_SUBS beyond
Multiline batch100 lines / 4096 bytesfixedadvertised as the draft/multiline cap value; exceeding either kills the batch with FAIL BATCH MULTILINE_MAX_LINES/MULTILINE_MAX_BYTES

Metadata (draft/metadata-2) ​

LimitValue
Keys per target20
Key length32
Value length300

SASL & accounts ​

LimitValueNotes
SASL buffer8,192 BERR_SASLTOOLONG beyond
AUTHENTICATE chunk400 Bper spec
Password hashingArgon2idconstant-time verify
SCRAM iterations4,096PBKDF2, stored-key scheme

History ​

LimitDefaultAdjustableNotes
Messages per target (RAM)500history_lenring buffer
Distinct targets (RAM)50,000history_max_targetsLRU batch eviction
Messages per CHATHISTORY request100 max, 50 defaultfixedCHATHISTORY=100
Rows on disk100,000fixedpruned at startup
Startup load5,000 rowsload_limit[persistence]
Write batching256 inserts/txnfixedwrite-behind thread
Shutdown flush grace2 sfixedthen the writer is aborted
LimitDefaultAdjustableNotes
Plugin fuel per call5,000,000 instructions[plugins].fueltrap on exhaustion (fail-open)
Plugin linear memory16 MiB[plugins].max_memorymemory.grow beyond it fails
Plugin key-value store256 keys / 64 KiB per pluginfixedoptionally persisted to state_dir
Plugin actions4 per hook call, 120 per minutefixedgranted actions beyond the budget are refused and logged
Plugin log line4,096 Bfixedtruncated
Link reconnect delay30 sfixeddial-side retry

Web, uploads, calls & E2EE ​

All of these are off by default; values are the defaults when enabled.

LimitDefaultAdjustableNotes
Upload size25 MiB[filehost] max_byteslarger uploads are refused (413)
Upload quota500 MiB per account[filehost] quota_bytes0 = unlimited
Upload rate60 per account per hour[filehost] uploads_per_hour
Upload retention30 days[filehost] retention_days0 = keep forever
Voice message length300 s[filehost] voice_max_secsOgg/Opus only
Call offers5 per user per minute[calls] offers_per_minuteFAIL TAGMSG RATE_LIMITED
Call duration4 h[calls] max_duration_secsthe server hangs up
E2EE devices10 per account[e2ee] max_devicesFAIL KEYS TOO_MANY_DEVICES
One-time prekeys100 per device[e2ee] max_prekeysFAIL KEYS TOO_MANY_PREKEYS
Key-bundle fetches30 per user per minute[e2ee] fetches_per_minuteFAIL KEYS RATE_LIMITED
Devices per account4[multiclient] max_connectionsmulticlient only
Self-registrations5 per IP per hour[account_registration] max_per_ip_per_hour0 = unlimited
Admin login failures5 per IP per 15 minfixedthe IP is locked out for the rest of the window

Disconnect reasons → metrics ​

Reason stringMetric
SendQ exceededferrixd_sendq_drops_total
Excess Floodferrixd_flood_disconnects_total
Registration timeoutferrixd_registration_timeouts_total

Dual-licensed under MIT or Apache-2.0.