Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 65B77B5DC0F for ; Fri, 23 Sep 2011 16:23:27 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 60097-05 for ; Fri, 23 Sep 2011 19:23:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from joeconway.com (wsip-72-214-29-243.sd.sd.cox.net [72.214.29.243]) by mail.postgresql.org (Postfix) with ESMTP id 435ECB5DBD1 for ; Fri, 23 Sep 2011 16:23:19 -0300 (ADT) Received: from www.joeconway.com (account jconway [192.168.4.40] verified) by joeconway.com (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 11402278; Fri, 23 Sep 2011 12:23:18 -0700 Message-ID: <4E7CDCA6.6060803@joeconway.com> Date: Fri, 23 Sep 2011 12:23:18 -0700 From: Joe Conway User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.12) Gecko/20071019 Fedora/1.5.0.12-3.fc6 pango-text Thunderbird/1.5.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: "Burgholzer, Robert (DEQ)" CC: pgsql-admin@postgresql.org Subject: Re: diagnosing a db crash - server exit code 2 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.918 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RDNS_DYNAMIC=0.982 X-Spam-Level: X-Archive-Number: 201109/171 X-Sequence-Number: 38408 On 09/23/2011 12:02 PM, Burgholzer, Robert (DEQ) wrote: > I am trying to get my head around why I keep getting crashes to my PG > 8.3.7 database on CentOS - Linux version 2.6.18-164.el5. There are 3 > slightly different (I think) circumstances leading to a crash of the > database, all related in some way to long running PHP scripts with > intensive activity on PG connections. > #1 - execution of an R call via pLR (sometimes this may crash it all by > itself) > #2 - execution of a postGIS query (possible) > #3 - random occurences, all related to the same long running PHP scripts > > I have read that perhaps hardware and/or system settings may cause > this. I believe the system is running i9 processors, that may be set > into some sort of virtual multi-threading mode. Thanks for any insight > you all can give in tracking this down. Are you maybe getting bitten by the OOM killer? http://www.postgresql.org/docs/8.3/interactive/kernel-resources.html#AEN22246 Joe -- Joe Conway credativ LLC: http://www.credativ.us Linux, PostgreSQL, and general Open Source Training, Service, Consulting, & 24x7 Support