I am not sure if this part is still needed.
There was an error on debian lenny (etch?) that was related to ssh and could be fixed by (un)setting these variables.
I kept in in the script as I don't think it hurts anything even if the problem was fixed.
I think it is related to an error in ssh that leads to error messages in syslog like this:
sshd: error writing /proc/self/oom_adj: Permission denied
Occured on vservers mainly (but had it on a root server, too).
Last edited by Croydon; 22nd April 2011 at 10:02.