From: Tom Lane <tgl@sss.pgh.pa.us>
To: Henry <henka@cityweb.co.za>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5736: 9.0.1 segmentation fault (sig11) during long-lived update
Date: Sat, 30 Oct 2010 16:43:01 -0400
Message-ID: <23040.1288471381@sss.pgh.pa.us> (raw)
In-Reply-To: <201010301918.o9UJIxIc015004@wwwmaster.postgresql.org>
References: <201010301918.o9UJIxIc015004@wwwmaster.postgresql.org>
"Henry" <henka@cityweb.co.za> writes:
> Before I run this again, what's the best way to proceed to get a core dump
> so I can run a gdb backtrace to provide more info? Simply 'ulimit -c
> 5242880' as user postgres and restart PG?
I'd use "ulimit -c unlimited", myself, rather than making arbitrary
assumptions about how big the corefile might be.
Also, make sure the ulimit command is effective in the shell that will
actually launch the postmaster. This can be tricky if your PG launch
script uses "su". If you're using the RH or PGDG RPMs' initscript,
I'd suggest putting the ulimit command in ~postgres/.bash_profile.
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, henka@cityweb.co.za
Subject: Re: BUG #5736: 9.0.1 segmentation fault (sig11) during long-lived update
In-Reply-To: <23040.1288471381@sss.pgh.pa.us>
References: <201010301918.o9UJIxIc015004@wwwmaster.postgresql.org> <23040.1288471381@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