diff options
author | Devaev Maxim <[email protected]> | 2021-05-22 02:34:31 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-05-22 02:34:31 +0300 |
commit | 8b5c90f9a285c226403761c445e6e8d33a7c99ff (patch) | |
tree | e827eda756d7d673cccc4b37ad0727bb2fa149ae /configs | |
parent | e45bd76cbc609db7e4a2f123196376fb4087b5ef (diff) |
janus tweaks
Diffstat (limited to 'configs')
-rw-r--r-- | configs/os/services/kvmd-janus.service | 1 | ||||
-rw-r--r-- | configs/os/sysctl.conf | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/configs/os/services/kvmd-janus.service b/configs/os/services/kvmd-janus.service index b928865f..9a154d29 100644 --- a/configs/os/services/kvmd-janus.service +++ b/configs/os/services/kvmd-janus.service @@ -7,6 +7,7 @@ Type=oneshot ExecStart=/bin/true ExecStop=/bin/true RemainAfterExit=true +LimitNOFILE=65536 [Install] WantedBy=multi-user.target diff --git a/configs/os/sysctl.conf b/configs/os/sysctl.conf index 71db0efc..7cfe43b0 100644 --- a/configs/os/sysctl.conf +++ b/configs/os/sysctl.conf @@ -1,3 +1,9 @@ # https://github.com/raspberrypi/linux/issues/1753 vm.dirty_background_bytes = 5 vm.dirty_writeback_centisecs = 25 + +# https://groups.google.com/g/meetecho-janus/c/xoWIQfaoJm8 +net.core.rmem_default = 500000 +net.core.wmem_default = 500000 +net.core.rmem_max = 1000000 +net.core.wmem_max = 1000000 |