From: otisg <otisg@iVillage.com>
To: pgsql-admin@postgresql.org
Subject: Re: Dying PostgreSQL backend
Date: Mon, 6 May 2002 20:47:31 -0700
Message-ID: <0a6601c1f579$ea14e390$6cc8010a@mail2world.com> (raw)
Hello,
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"
The backend doesn't want to dump core, it just dies and restarts, dies
and restarts.
I am really running only 2 very similar UPDATE statements. They update
the same table, changing only a few fields.
I tried running VACUUM ANALYZE more frequently, but that didn't make any
difference.
Is there any other way that I can get more information out of postgres
backend?
Thanks,
Otis
_______________________________________________________________
Sign up for FREE iVillage newsletters <http://s.ivillage.com/rd/16705; .
From health and pregnancy to shopping and relationships, iVillage
has the scoop on what matters most to you.
<-----Original Message----->
>
> From: Tom Lane
> Sent: 5/6/2002 12:47:31 PM
> To: otisg@iVillage.com
> Cc: pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] Dying PostgreSQL backend
>
> "otisg" 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
>
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: otisg@iVillage.com
Subject: Re: Dying PostgreSQL backend
In-Reply-To: <0a6601c1f579$ea14e390$6cc8010a@mail2world.com>
References: <0a6601c1f579$ea14e390$6cc8010a@mail2world.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