Re: memory overcommitment
From: Stephen C. Tweedie <hidden>
Date: 1998-08-19 13:51:07
Hi, On Tue, 18 Aug 1998 11:52:06 -0400 (EDT), Chris Atenasio [off-list ref] said:
quoted
If you can suggest a good algorithm for selecting processes to kill, we'd love to hear about it. The best algorithm will not be the same for all users.
How bout: if(no_more_ram) kill(process_using_most_ram());
Very simplistic: on many systems, that will mean starting gcc takes out the X server. :-(
Of course to be useful it would have to add together the usage of multiple instances of a program of the same uid(and then kill all of them too!). Furthermore you might even want to kill uid 0 progs last.
Certainly. One thing on the agenda for consideration in 2.3 is resident set size limits and quotas, which will allow us to cleanly reserve enough swap and physical memory for specific uses. --Stephen -- This is a majordomo managed list. To unsubscribe, send a message with the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org