When a server is overloaded, what is a way under systemd to give ssh a high priority to ensure a remote ssh connection gets a priority to resolve the critical situation?
When a server is overloaded, what is a way under systemd to give ssh a high priority to ensure a remote ssh connection gets a priority to resolve the critical situation?
Create a systemd override file setting the nice level to a high negative priority (maximum is -20, however some kernel processes require that for integrity).
Run
systemctl daemon-reload
for this to have an effect.