prevent the kernel from OOMKilling embassyd (#1402)

* prevent the kernel from OOMKilling embassyd

* privilege embassyd with respect to cpu usage

* add a docker slice
This commit is contained in:
Aiden McClelland
2022-04-20 11:26:41 -04:00
committed by GitHub
parent 1ac711c864
commit 7c17e26480
3 changed files with 13 additions and 1 deletions

View File

@@ -9,6 +9,9 @@ Environment=RUST_LOG=embassyd=debug,embassy=debug
ExecStart=/usr/local/bin/embassyd
Restart=always
RestartSec=3
ManagedOOMPreference=avoid
CPUAccounting=true
CPUWeight=1000
[Install]
WantedBy=multi-user.target