Skip to content

Commit 9268270

Browse files
committed
doc: update reduce-memory.md peer connections info
1 parent 585cbe2 commit 9268270

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

doc/reduce-memory.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,13 @@ The size of some in-memory caches can be reduced. As caches trade off memory usa
2424

2525
## Number of peers
2626

27-
- `-maxconnections=<n>` - the maximum number of connections, this defaults to 125. Each active connection takes up some
28-
memory. This option applies only if incoming connections are enabled, otherwise the number of connections will never
29-
be more than 10. Of the 10 outbound peers, there can be 8 full-relay connections and 2 block-relay-only ones.
27+
- `-maxconnections=<n>` - the maximum number of connections, which defaults to 125. Each active connection takes up some
28+
memory. This option applies only if inbound connections are enabled; otherwise, the number of connections will not
29+
be more than 11. Of the 11 outbound peers, there can be 8 full-relay connections, 2 block-relay-only ones,
30+
and occasionally 1 short-lived feeler or extra outbound block-relay-only connection.
31+
32+
- These limits do not apply to connections added manually with the `-addnode` configuration option or
33+
the `addnode` RPC, which have a separate limit of 8 connections.
3034

3135
## Thread configuration
3236

0 commit comments

Comments
 (0)