httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Rooney" <roo...@electricjellyfish.net>
Subject Re: [PATCH] aborting on OOM
Date Wed, 10 May 2006 17:53:50 GMT
On 5/10/06, Joe Orton <jorton@redhat.com> 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

Mime
View raw message