Messages in this thread | | | Date | Fri, 03 Dec 2004 15:41:34 +0100 | From | Helge Hafting <> | Subject | Re: [PATCH] oom killer (Core) |
| |
Thomas Gleixner wrote:
> I know, but the console and the reset button are 150km away. When I dial > >into the machine or try to connect via the network, I cannot connect >with the current kernels. Neither 2.4, because the fork fails, nor 2.6 >because oom killed sshd. So I cannot send anything except a service man, >who drives 150km to hit sysrq-F or the reset button. > >
The case of OOM killed sshd is fixable without touching the kernel: Make sure sshd is started from init, init will then restart sshd whenever it quits for some reason. This will get you your essential sshd back assuming the machine is still running and the OOM killer managed to free up some memory by killing some other processes.
One might still wish for better OOM behaviour, but it is a case where something has to give.
Helge Hafting - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |