[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#341767: simple script causes sshd to run out of memory and die



 > Dec  1 21:37:40 mpiblaster kernel: HighMem: empty
 > Dec  1 21:37:40 mpiblaster kernel: Swap cache: add 0, delete 0, find 0/0, race 0+0
 > Dec  1 21:37:40 mpiblaster kernel: Out of Memory: Killed process 19833 (sshd).
 > 
 > While infinite recursion is certainly a error in the script, it should
 > not cause sshd to die. Because it kills sshd, a malicious user can
 > prevent anyone from logging in via ssh until the daemon is restarted.
 
What is happening here is that you are running your entire system out
of memory, and the kernel is then killing a process (as it will do if
it runs out of system memory).

This is the expected behaviour of the system.

Matthew 

-- 
Rapun.sel - outermost outpost of the Pick Empire
http://www.pick.ucam.org




Reply to: