max_wal_senders
Requires a restarttuned by pgconfiguratorcount (sender processes)
How many simultaneous replication connections (standbys, backups) are allowed.
What pgconfigurator would set
32 GB · 8 vCPU · NVMe · OLTP
Computing…
Tune for your exact server → /tunecomputed in your browser · nothing uploaded
What it does
Each streaming standby and each WAL-streaming backup uses one WAL sender process. max_wal_senders caps how many can connect at once. It must be greater than zero for streaming replication to work at all.
How to tune it
Set it a little above your number of standbys plus any concurrent streaming backups, leaving headroom for a new replica to attach while the others stream. The default 10 covers most setups. Changing it needs a restart.