Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id 231B02E007A for ; Tue, 22 Apr 2008 13:21:54 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 82783-06 for ; Tue, 22 Apr 2008 13:21:43 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by developer.postgresql.org (Postfix) with ESMTP id 692872E008E for ; Tue, 22 Apr 2008 13:21:44 -0300 (ADT) Received: by wa-out-1112.google.com with SMTP id n7so4016839wag.5 for ; Tue, 22 Apr 2008 09:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=GbPpCKwPFwiURj9/ZLn3IEWOcV+tt+R1RA7NcRMcCYc=; b=h0sbf6gVzLGKwIJ4VyAKkJ4sSz1tLXvRfDCsYGLQ3bKlX04ZCnluiUIh6TnMtcVp3MFBoh534GTxpRf4SmhnFrAlikkyeTHIvFscQK3/1Eo+BwO9STJvfO6UybyU4cMe0oeOtt8P91Nh92m/39cRbl2jFCbni6gJsY5cTH3zm2M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tvshM1wFTtFk9X61QTSPayZhzqRsskQGBHt2TfPpoIDb8wVaKqewYjCNwub+SwPya6zLhGLVxQ0B020Hrzcxy22ac7nVEDgVT+LogCTcEsr9fMU3Wg6bokTofskKhoadIZIgHL6barXFjzIKtGhl2qPXMk23lvzg4Vi2hl4vWRI= Received: by 10.114.67.2 with SMTP id p2mr537984waa.1.1208881301306; Tue, 22 Apr 2008 09:21:41 -0700 (PDT) Received: by 10.114.137.7 with HTTP; Tue, 22 Apr 2008 09:21:41 -0700 (PDT) Message-ID: Date: Tue, 22 Apr 2008 10:21:41 -0600 From: "Scott Marlowe" To: "Tom Lane" Subject: Re: Server Crash Cc: pgsql-admin@postgresql.org In-Reply-To: <22376.1208880418@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <22376.1208880418@sss.pgh.pa.us> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/229 X-Sequence-Number: 28993 On Tue, Apr 22, 2008 at 10:06 AM, Tom Lane wrote: > > From: Scott Marlowe [mailto:scott.marlowe@gmail.com] > > >> Kill -9 is the "shoot it in the head" signal. It is not > >> generated by postgresql in normal operation. It can be > >> generated by "pg_ctl -m immediate stop" . At least I think > >> that's what signal it sends. > > Just for the archives: Postgres never generates kill -9 at all. > (Immediate stop uses SIGQUIT, instead.) When you see that in > the log, you can be sure it was a manual action or the OOM killer. Thanks. Just wondering, what's the difference in behavior from pgsql's perspective from sigquit and siqkill? Is sigkill more dangerous than sigquit?