mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.4 kernel series and the oom_killer and /proc/sys/vm/overcommit_memory
@ 2002-08-22 15:19 Marc-Christian Petersen
  2002-08-22 17:22 ` Robert Love
  2002-08-22 17:32 ` Alan Cox
  0 siblings, 2 replies; 6+ messages in thread
From: Marc-Christian Petersen @ 2002-08-22 15:19 UTC (permalink / raw)
  To: linux-kernel

Hi there,

I just have one question.

If I understand it correct, /proc/sys/vm/overcommit_memory controls if there 
is "1" always enough memory and if "0" every program call checks if there is 
enough memory.

I just tried to open up much Xterms until my RAM + SWAP is full. The system is 
up and response is slowly for ~ 5 minutes, doing whatever, swapping or kinda 
that. This was tested with overcommit_memory == 0 ... With 2.4.19, the 
oom_killer comes NOT in action, after the 5 minutes the system is dead. With 
2.4.18's oom_killer there are program kills at random.

My question now: Why isn't it possible, if overcommit_memory is 0, to really 
check if there is enough memory or not, and if NOT just to display a message 
like "Not enough memory for execution. Aborted" ?

TIA!

-- 
Kind regards
        Marc-Christian Petersen

http://sourceforge.net/projects/wolk

PGP/GnuPG Key: 1024D/569DE2E3DB441A16
Fingerprint: 3469 0CF8 CA7E 0042 7824 080A 569D E2E3 DB44 1A16
Key available at www.keyserver.net. Encrypted e-mail preferred.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-08-24 13:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-22 15:19 2.4 kernel series and the oom_killer and /proc/sys/vm/overcommit_memory Marc-Christian Petersen
2002-08-22 17:22 ` Robert Love
2002-08-22 17:32 ` Alan Cox
2002-08-24  2:07   ` Daniel Phillips
2002-08-24  3:46     ` Rik van Riel
2002-08-24 13:42       ` Daniel Phillips

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®