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: Tue, 07 May 2002 09:38:17 -0400
Message-ID: <23024.1020778697@sss.pgh.pa.us> (raw)
In-Reply-To: <0a6601c1f579$ea14e390$6cc8010a@mail2world.com>
References: <0a6601c1f579$ea14e390$6cc8010a@mail2world.com>

"otisg" <otisg@iVillage.com> writes:
> Unfortunately, I cannot get PostgreSQL to dump core despite setting
> ulimit -c to:
> [root@linux2 otis]# ulimit -a
> core file size (blocks) unlimited

> And starting PostgreSQL this way:
> su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p
> /usr/bin/postmaster start"

Most likely, the su is picking up your system default of ulimit -c 0
again :-(.  I'd suggest modifying the pg_ctl script to explicitly set
ulimit -c before it starts the postmaster.

> I am really running only 2 very similar UPDATE statements.

Well, I'd like to look into it; it's not supposed to be that easy to
make PG dump core ;-).  But I need information.

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <23024.1020778697@sss.pgh.pa.us>
Permalink:  ../23024.1020778697@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23024.1020778697@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: <23024.1020778697@sss.pgh.pa.us>
  References: <0a6601c1f579$ea14e390$6cc8010a@mail2world.com> <23024.1020778697@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