Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YM3Gc-0007Ra-QX for pgsql-admin@arkaria.postgresql.org; Thu, 12 Feb 2015 23:33:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YM3Gc-0000iK-2R for pgsql-admin@arkaria.postgresql.org; Thu, 12 Feb 2015 23:33:54 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YM3Gb-0000iE-98 for pgsql-admin@postgresql.org; Thu, 12 Feb 2015 23:33:53 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YM3GY-0003QH-8g for pgsql-admin@postgresql.org; Thu, 12 Feb 2015 23:33:51 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t1CNXmLT016214; Thu, 12 Feb 2015 18:33:48 -0500 From: Tom Lane To: Dave Johansen cc: pgsql-admin@postgresql.org Subject: Re: Postgres 8.4.20 seqfault on RHEL 6.4 In-reply-to: References: Comments: In-reply-to Dave Johansen message dated "Thu, 12 Feb 2015 16:25:09 -0700" Date: Thu, 12 Feb 2015 18:33:48 -0500 Message-ID: <16213.1423784028@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Dave Johansen writes: > I'm running Postgres 8.4.20 on RHEL 6.4 and it will occasionally crash. The > postgres.log file just says that a PID was terminated. The output from > dmesg has a message like this one: > postmaster[22905]: segfault at 686 ip 0000000000000686 sp 00007fff83d72e88 > error 14 in postgres[400000+463000] > What can I do to try and figure out what is causing the crash and fix it? (1) install relevant postgresql-debuginfo package (assuming we're talking about a Red Hat-originated postgres package) (2) run postmaster under "ulimit -c unlimited" (easiest way is probably to add such a command to /etc/rc.d/init.d/postgresql and restart the service) (3) wait for crash (4) gdb the resulting corefile (should be under your $PGDATA directory) (5) send in a stack trace. Keep in mind that 8.4.x is out of support so far as the PG community is concerned, so we're unlikely to expend any great amount of effort on this; but we can take a quick look at a stack trace to see if it looks like a known problem. regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin