Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 9DC9C2E0053 for ; Tue, 22 Apr 2008 12:13:13 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 83833-02 for ; Tue, 22 Apr 2008 12:13:10 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by developer.postgresql.org (Postfix) with ESMTP id AE2162E0052 for ; Tue, 22 Apr 2008 12:13:10 -0300 (ADT) Received: by yw-out-2324.google.com with SMTP id 2so1819970ywt.73 for ; Tue, 22 Apr 2008 08:13:10 -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=0d8FEO95zNFz56UB6ARoLL130z9c/nYpoEvSrPbRJQ0=; b=EnUBkruIoHfLklcz4k5ZVsAu3KMN+DK60G1qQNQDw3k4NwTQ6Pvb+z5dcX7iCmIiPId8LwE68ELOF57isaOlz1cZ9fgW8fq8eh7Dqqt3ewTZqpn1PJY3JSPgD/PjxWbFCoPsUKyPQawp5BugUmkTT5LxzlNCjLiuYSw6o2rp5rg= 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=cc2nmQvLxUwrE/iKDKquInr/9TMAPuGAhSCP9jIFL0o9tNziiVv087sS7PjO1uZXV2HmdESnnJbRguPqKE8gXjS/3B/qKKv8ysisNzQaByX5iOtpirhMQRPrH4W+87q1nc8kTHcEDYUGlPQyei7RLOK2/BSuubhiypENqV1gutg= Received: by 10.114.178.1 with SMTP id a1mr409317waf.25.1208877189613; Tue, 22 Apr 2008 08:13:09 -0700 (PDT) Received: by 10.114.137.7 with HTTP; Tue, 22 Apr 2008 08:13:09 -0700 (PDT) Message-ID: Date: Tue, 22 Apr 2008 09:13:09 -0600 From: "Scott Marlowe" To: "Hajek, Nick" Subject: Re: Server Crash Cc: pgsql-admin@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/223 X-Sequence-Number: 28987 On Tue, Apr 22, 2008 at 8:14 AM, Hajek, Nick wrote: > > > All, > We experienced a crash of a Postgresql server which from the log appears to > have began with this entry: > > Log: background writer process (PID 3457) was terminated by signal 9 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. Anyway, the most common cause of kill -9s randomly showing up in linux is the OOM killer. It's quite possible you're running your machine out of memory / swap somehow and linux is killing the biggest, fattest process it can find, which is pgsql. you might wanna run vmstat 1 to see what's happening during these times.