Comment 12 for bug 293000

Revision history for this message
Nathan Catlow (nat-uncon) wrote :

Is there going to be a back port to Hardy 8.04 LTS?

I have had a serious issue with a Virtual Server where the only access is via SSHD. This resulted in an errant CPAN update downing the entire box due to all services started via SSH being oom_adj == -17 and therefore not being killed when out of control.

I cannot risk setting SSHD_OOM_ADJUST=0 in /etc/default/ssh as it is essential that sshd remains running at all cost.

I have temporarily put echo "0" > /proc/self/oom_adj in /etc/bash.bashrc as a workaround. At least this may stop some potential problems.

This is serious in a Virtual Server environment, where RAM is typically low and remote access requirement high.