lkml.org 
[lkml]   [2000]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Avoiding OOM on overcommit...?
On Mon, 20 Mar 2000, Jesse Pollard wrote:
>On Mon, 20 Mar 2000, David Whysong wrote:
>>
>>That's very misleading. In fact if you give the overcommitted system the
>>same amount of VM, it will work just fine. In other words, turning off
>>overcommit isn't what saves you. You added more memory!
>
>I guaranteed that the memory allocated could be used. I didn't just add
>more memory. Just adding more memory will still allow the system to fail,
>it may take longer, it may not happen as often. But it can still happen.

If you properly handle system-wide OOM situations by killing tasks (see my
other emails about doing this with the OOM killer patch + a userspace
daemon), then you no longer have system crashes.

Yes, your app can be killed, but that is also what happens with quotas. In
fact, it happens earlier with quotas.

Dave

David Whysong dwhysong@physics.ucsb.edu
Astrophysics graduate student University of California, Santa Barbara
My public PGP keys are on my web page - http://www.physics.ucsb.edu/~dwhysong
DSS PGP Key 0x903F5BD6 : FE78 91FE 4508 106F 7C88 1706 B792 6995 903F 5BD6
D-H PGP key 0x5DAB0F91 : BC33 0F36 FCCD E72C 441F 663A 72ED 7FB7 5DAB 0F91


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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