Comment on memory needs for igmp6 subscriptions

This commit is contained in:
Samuel Thibault 2023-05-27 12:39:01 +02:00
parent 58d038dc0b
commit 1b9c50df98
2 changed files with 13 additions and 1 deletions

View file

@ -418,6 +418,14 @@ Each throttled session requires two buckets (in and out).
Determines whether or not to enable kernel acceleration.
Note that only one l2tpns instance can use it per network namespace,
otherwise they will step on each other.
Also, if you have a lot of clients (e.g.\ at least a hundred), listening
for DHCPv6 and RS requires a lot of igmp6 subscriptions, tuning sysctl
may be needed, such as
.PP
sysctl net.core.optmem_max=1048576
.PP
otherwise the logs will mention failures to subscribe due to lack of
memory.
.SS DHCPv6 And IPv6 SETTINGS
.PP
\f[B]dhcp6_preferred_lifetime\f[R] (int)

View file

@ -253,7 +253,11 @@ The following `variables` may be set:
**kernel\_accel** (boolean)
Determines whether or not to enable kernel acceleration. Note that only one l2tpns instance can use it per network namespace, otherwise they will step on each other.
Determines whether or not to enable kernel acceleration. Note that only one l2tpns instance can use it per network namespace, otherwise they will step on each other. Also, if you have a lot of clients (e.g. at least a hundred), listening for DHCPv6 and RS requires a lot of igmp6 subscriptions, tuning sysctl may be needed, such as
sysctl net.core.optmem\_max=1048576
otherwise the logs will mention failures to subscribe due to lack of memory.
## DHCPv6 And IPv6 SETTINGS