From: jplooney at domain compapp.dcu.ie
Date: Tue 03 Aug 1999 - 12:30:13 IST
On Fri, Jul 30, 1999 at 09:06:30AM +0100, Paul Jakma mentioned:
> > Suppose you've got a memory leak in some program that runs as root?
> true, but it can be argued that in that case you shouldn't be running that
> programme then. anyway you can set a global RSS limit which should stop the
> machine from crashing anyway.
That's the side Microsoft took in the Windows 3.11 days - if a program
crashes your machine, that's not our problem - don't run the program.
If your machine is unusable, for anyr reason, what so ever, it's Linux's
fault.
> oom is difficult - what do you do? start indiscriminately killing things?
> there's a discussion on linux-kernel at the moment about it.. doesn't seem
> much agreement there either.
I would be happy to go back to the 1.x days, where the machine would just
return -ENOMEM to programs that were looking for extra memory, and wouldn't
swap themselves unusable.
I've seen people with 256MB RAM running out of memory, and halting the
machine, from netscape over-caching...that's not on. I'll try out the OOM
patch, when I get a chance...
Kate
-- Microsoft - the best reason in the world to drink beer
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:25 GMT