Re: Dying PostgreSQL backend

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "otisg" <otisg(at)iVillage(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Dying PostgreSQL backend
Date: 2002-05-07 13:38:17
Message-ID: 23024.1020778697@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"otisg" <otisg(at)iVillage(dot)com> writes:
> Unfortunately, I cannot get PostgreSQL to dump core despite setting
> ulimit -c to:
> [root(at)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Marin Dimitrov 2002-05-07 13:49:42 Re: [ADMIN] [DOCS] Migrating Oracle to PostgreSQL
Previous Message Rajesh Kumar Mallah. 2002-05-07 13:16:00 Re: Delete function