Closed Vrolijk closed 2 years ago
Just a reminder and link
net.core.rmem_max=1677721600 net.core.rmem_default=167772160 net.core.wmem_max=1677721600 net.core.wmem_default=167772160 net.core.optmem_max= 2048000
net.ipv4.tcp_rmem= 1024000 8738000 1677721600 net.ipv4.tcp_wmem= 1024000 8738000 1677721600 net.ipv4.tcp_mem= 1024000 8738000 1677721600 net.ipv4.udp_mem= 1024000 8738000 1677721600
The server is now allocating about 500MB to network buffer and everything is running very well.
Source: https://www.cyberciti.biz/faq/linux-tcp-tuning/
Just a reminder and link
adjust memory to 1.677MB – endless memory :-)
net.core.rmem_max=1677721600 net.core.rmem_default=167772160 net.core.wmem_max=1677721600 net.core.wmem_default=167772160 net.core.optmem_max= 2048000
set minimum size, initial size, and maximum size in bytes
net.ipv4.tcp_rmem= 1024000 8738000 1677721600 net.ipv4.tcp_wmem= 1024000 8738000 1677721600 net.ipv4.tcp_mem= 1024000 8738000 1677721600 net.ipv4.udp_mem= 1024000 8738000 1677721600
The server is now allocating about 500MB to network buffer and everything is running very well.
Source: https://www.cyberciti.biz/faq/linux-tcp-tuning/