enable new udp buffer limits

sysctl -w only updates sysctl.conf with new values

For the OS to start using the new values (force read sysctl.conf), sysctl -p is required.
This commit is contained in:
Kostas Botsas 2016-09-10 18:50:53 +03:00 committed by GitHub
parent 811567a2f4
commit 961d9b6107
1 changed files with 6 additions and 0 deletions

View File

@ -57,6 +57,12 @@ sysctl -w net.core.rmem_max=8388608
sysctl -w net.core.rmem_default=8388608
```
To enable the new values without a system restart, type the following command as root:
```
sysctl -p
```
### BSD/Darwin
On BSD/Darwin systems you need to add about a 15% padding to the kernel limit