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
> 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...
Microsoft - the best reason in the world to drink beer
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!