[CentOS] Anyway to ensure SSH availability?

Emmanuel Noobadmin centos.admin at gmail.com
Thu Jun 30 11:02:13 UTC 2011


On 6/30/11, rainer at ultra-secure.de <rainer at ultra-secure.de> wrote:
> Unfortunately, all this does not matter at all.
> The problem is: sshd is swapped out and the system needs to swap-out
> something else first, before it can take sshd back in.

There appears to be some functions available to programs to lock their
process pages in memory, mlock and mlockall. But I can't seem to find
a command line equivalent that might be able to keep sshd locked into
memory.

In any case, I've ionice and renice sshd and see if that would help.



More information about the CentOS mailing list