On 5/10/06, Joe Orton <[EMAIL PROTECTED]> wrote:
There a few choices for what to do in the oom handler: 1.3 fprintf's to
stderr, then does exit(1), which doesn't seem particularly wise since
fprintf can itself malloc; could do similarly, could just exit(1) or
even just exit(APEXIT_CHILDSICK); but then nothing gets logged.  With
abort() at least something is logged, and you can get core dumps with a
suitably configured environment/server, for further diagnosis.  Any
opinions?

I would personally prefer abort to exit...

-garrett

Reply via email to