From: Richard Huxton <dev@archonet.com>
To: barai@cs.ucr.edu
Cc: pgsql-general@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: [GENERAL] PostgreSQL crashing
Date: Thu, 22 Dec 2005 07:27:23 +0000
Message-ID: <43AA555B.3090205@archonet.com> (raw)
In-Reply-To: <4301.138.23.210.20.1135194176.squirrel@www.cs.ucr.edu>
References: <4301.138.23.210.20.1135194176.squirrel@www.cs.ucr.edu>
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: [<c0143271>] __alloc_pages+0x2e1/0x2f7
> Dec 20 17:14:57 server4 kernel: [<c014329f>] __get_free_pages+0x18/0x24
> Dec 20 17:14:57 server4 kernel: [<c0145bfc>] kmem_getpages+0x1c/0xbb
...
> Dec 20 17:15:01 server4 kernel: [<c026d9ca>] sync_sbs+0x22/0x2f
> Dec 20 17:15:01 server4 kernel: [<c026da5b>] md_update_sb+0x84/0xc6
> Dec 20 17:15:01 server4 kernel: [<c02706b5>] 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: dev@archonet.com, barai@cs.ucr.edu, pgsql-general@postgresql.org
Subject: Re: [GENERAL] PostgreSQL crashing
In-Reply-To: <43AA555B.3090205@archonet.com>
References: <4301.138.23.210.20.1135194176.squirrel@www.cs.ucr.edu> <43AA555B.3090205@archonet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox