When some cpu-intensive processes are running on the server, chances are that we could not log in to this machine with error 'operation timeout' via ssh
command.
According to this post answered by peterph, there should be a way to guarantee sshd service on any circumstances. But I just don't know how to create a group for sshd, give it some non-negligible CPU time share, and give this "remote access" processes much higher CPU share then the rest.
Could anyone tell me how can I configure it in "/etc/cgconfig.conf" and "/etc/cgrules.conf"? Many thanks.