Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 51645 invoked from network); 11 May 2006 06:11:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 May 2006 06:11:11 -0000 Received: (qmail 84537 invoked by uid 500); 10 May 2006 21:05:07 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 84469 invoked by uid 500); 10 May 2006 21:05:06 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 84458 invoked by uid 99); 10 May 2006 21:05:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 May 2006 14:05:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [207.155.248.72] (HELO tonnant.cnchost.com) (207.155.248.72) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 May 2006 14:05:05 -0700 Received: from [192.168.0.21] (c-24-15-193-17.hsd1.il.comcast.net [24.15.193.17]) by tonnant.cnchost.com (ConcentricHost(2.54) Relay) with ESMTP id 97DBB112D00; Wed, 10 May 2006 17:04:44 -0400 (EDT) Message-ID: <4462556B.9050901@rowe-clan.net> Date: Wed, 10 May 2006 16:04:43 -0500 From: "William A. Rowe, Jr." User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@httpd.apache.org CC: Garrett Rooney Subject: Re: [PATCH] aborting on OOM References: <20060510120403.GB13454@redhat.com> <7edfeeef0605101053j1f38248an6a3f5efbb519b7b0@mail.gmail.com> <20060510181141.GA31514@dochas.stdlib.net> <7edfeeef0605101111l4bed9a1cm2264f80d5600a0f8@mail.gmail.com> <20060510182419.GA31680@dochas.stdlib.net> In-Reply-To: <20060510182419.GA31680@dochas.stdlib.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Colm MacCarthaigh wrote: > On Wed, May 10, 2006 at 11:11:27AM -0700, Garrett Rooney wrote: > >>On 5/10/06, Colm MacCarthaigh wrote: >> >>>On Wed, May 10, 2006 at 10:53:50AM -0700, Garrett Rooney wrote: >>> >>>>I would personally prefer abort to exit... >>> >>>is write()'ing a static error message an option too? >> >>Perhaps, but where would you write() to? > > > STDERR_FILENO :) ... is likely to be dead. We shot that horse on startup in most daemons, and the process may be too unstable to successfully invoke this write :) That said, it may not hurt to try. We must continue to segfault, but in a safe and predictable way, to ensure that the crash dump gives us enough to chew on. Bill