[lkml]   [1996]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Out of memory for ... - suggestion
In article <Pine.LNX.3.91.960730125803.1050B-100000@localhost>,
Bernhard Kaindl <> wrote:
>Is it possible to add a config option for disabling virtual memory over-
>commitment and therefore disabling the need to kill random processes?
>Thanks! I would like to have one, so I can trust my system again...

I wrote some code to do this in 1.2, but with a.out shared libraries
its just not possible. With 2.0 and ELF it is doable if you want to write
to code to track committed virtual address space then you should be able
to add the stuff needed.

Just watch ptrace as it provides an additional "suprise" way to overcommit
memory (the fork bomb using ptrace to alter each page of code space can
be very funny on some 'no overcommit' systems).

UKUU free UUCP Project Swansea | Alan Cox, <>
+44 1792 422028 (Cabletel) | Custom Linux Software Projects.
Sonix 33.6K 24x7 | Linux Consultancy. Linux Networking.

 \ /
  Last update: 2005-03-22 13:37    [W:0.086 / U:1.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site