X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 372829DCBA8; Thu, 22 Dec 2005 03:50:03 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 35101-02; Thu, 22 Dec 2005 03:50:03 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by postgresql.org (Postfix) with ESMTP id 9C3989DCB93; Thu, 22 Dec 2005 03:50:00 -0400 (AST) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id E17CA4220E6; Thu, 22 Dec 2005 07:49:57 +0000 (GMT) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 6F2A415EA8; Thu, 22 Dec 2005 07:27:23 +0000 (GMT) Message-ID: <43AA555B.3090205@archonet.com> Date: Thu, 22 Dec 2005 07:27:23 +0000 From: Richard Huxton User-Agent: Thunderbird 1.5 (X11/20051025) MIME-Version: 1.0 To: barai@cs.ucr.edu Cc: pgsql-general@postgresql.org, pgsql-admin@postgresql.org Subject: Re: [GENERAL] PostgreSQL crashing References: <4301.138.23.210.20.1135194176.squirrel@www.cs.ucr.edu> In-Reply-To: <4301.138.23.210.20.1135194176.squirrel@www.cs.ucr.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.026 required=5 tests=[AWL=0.026] X-Spam-Score: 0.026 X-Spam-Level: X-Archive-Number: 200512/269 X-Sequence-Number: 19989 barai@cs.ucr.edu wrote: > PostgreSQL runs for a while but always eventually (30min - 2hrs) crashes. > I thought it was memory initially but Memtest had no errors after running > for a day. I don't think it is a hardware issues because I can run other > applications without error. I have ran both version 8.0.3 and 8.1.1 with > the same error. I have posted a clipping of the crash from the system > log. Any help would be greatly appreciated. > > Dec 20 17:14:57 server4 kernel: postmaster: page allocation failure. > order:0, mode:0xd0 > Dec 20 17:14:57 server4 kernel: [] __alloc_pages+0x2e1/0x2f7 > Dec 20 17:14:57 server4 kernel: [] __get_free_pages+0x18/0x24 > Dec 20 17:14:57 server4 kernel: [] kmem_getpages+0x1c/0xbb ... > Dec 20 17:15:01 server4 kernel: [] sync_sbs+0x22/0x2f > Dec 20 17:15:01 server4 kernel: [] md_update_sb+0x84/0xc6 > Dec 20 17:15:01 server4 kernel: [] md_write_start+0x5e/0x8c Hmm - not sure what this is showing, but since the log is all kernel activity and it goes on for four seconds after PostgreSQL errors I'm not sure it's your crash in progress. You probably need to check the mailing-list archives for details on how to make sure you get a core dump. Also people will want to know what version of PG we are looking at, what O.S. (Linux by the look of it, but what distro/version?) and how you installed PG (from source/rpm/etc). -- Richard Huxton Archonet Ltd