Two cases so far: running out of stack and allocating overcommited memory.

You can easily catch stack growth failure in the OS. The proc gets a
note. The proc has the
option of the equivalent of 'echo growstack xyz > /proc/me/ctl'.

For overcommits, 'echo faultall > /proc/me/ctl'.

can we catch everything this way?

ron

Reply via email to