pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: otisg <otisg@iVillage.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Dying PostgreSQL backend
Date: Mon, 06 May 2002 09:45:31 -0400
Message-ID: <4845.1020692731@sss.pgh.pa.us> (raw)
In-Reply-To: <002501c1f4bb$087b8920$6ac8010a@mail2world.com>
References: <002501c1f4bb$087b8920$6ac8010a@mail2world.com>

"otisg" <otisg@iVillage.com> writes:
> What gets logged in syslog log file are things like this:

The messages you quoted are no help, because none of them directly
show the crashing backend.

What I'd recommend doing is gdb'ing the core dump file to get a stack
trace; that would give us some clue what's wrong.  And you could do
"p debug_query_string" to see what query made it crash.

If you do not find a core file in the database subdirectory
($PGDATA/base/yourdbnumber/core) then you are probably running the
postmaster with "ulimit -c 0" which disables core dumps.  Restart
it with environment "ulimit -c unlimited".

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <4845.1020692731@sss.pgh.pa.us>
Permalink:  ../4845.1020692731@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4845.1020692731@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, otisg@iVillage.com
  Subject: Re: Dying PostgreSQL backend
  In-Reply-To: <4845.1020692731@sss.pgh.pa.us>
  References: <002501c1f4bb$087b8920$6ac8010a@mail2world.com> <4845.1020692731@sss.pgh.pa.us>

* 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