Re: Avoiding OOM on overcommit...?

From: Brian Hurt (bhurt@talkware.net)
Date: Fri Mar 24 2000 - 16:04:57 EST


> And in the real world you realise
>
> o Processes get terminated by lots of unusual events not just out of
> memory - everything from fire to the office cat.
> o Systems as a whole therefore have to be robust to this anyway
> o There is an implicit unchecked memory allocation in normal C - stack
> pages. So a stack page OOM will kill you anyway (forget calling a
> function to report it, you have nothing to report it on)

The process isn't just killed. It dumps core (the default behavior of
receiving SIGSEGV according to signal(7)). Which is icing on the cake
here.

Brian

-
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/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:13 EST