zoneminder network tuning 10G

Post Reply
zemerdon
Site Admin
Posts: 379
Joined: Mon Jan 23, 2023 8:13 pm

zoneminder network tuning 10G

Post by zemerdon »

/etc/sysctl.d/99-network-tuning.conf

Code: Select all

# ZoneMinder network tuning

net.core.rmem_max = 134217728
net.core.wmem_max = 134217728
net.core.netdev_max_backlog = 5000

net.core.rmem_default = 16777216
net.core.wmem_default = 16777216

net.ipv4.tcp_rmem = 4096 87380 134217728
net.ipv4.tcp_wmem = 4096 65536 134217728

net.core.somaxconn = 4096
net.ipv4.tcp_fin_timeout = 15
net.ipv4.ip_local_port_range = 1024 65535
apply immediately using

Code: Select all

sudo sysctl --system
check settings have applied with

Code: Select all

sysctl net.core.rmem_max
sysctl net.core.wmem_max
sysctl net.core.netdev_max_backlog
Post Reply