pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tim Lynch <admin+pgsqladmin@thirdage.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: crash help, pgsql 7.2.1 on RH7.3
Date: Wed, 20 Nov 2002 23:31:13 -0500
Message-ID: <7165.1037853073@sss.pgh.pa.us> (raw)
In-Reply-To: <6907.1037850813@sss.pgh.pa.us>
References: <02dd01c290d6$71e8abb0$2c0210ac@loisaida>
	<6907.1037850813@sss.pgh.pa.us>

I said:
> "Tim Lynch" <admin+pgsqladmin@thirdage.com> writes:
>> i don't see a core file.

> Check that you are starting the postmaster with "ulimit -c unlimited";
> this is not the default on most Linuxen, so you may have to add that to
> the start script.  Also note that the postmaster never does a chdir,
> so if it drops core it will be in the same directory the start script
> was running in.

Drat, I forgot to mention an important corollary: make sure the
postmaster is started in a directory that's writable by the postgres
user, else you'll get no corefile.

(For completeness I'll mention here that when individual backends dump
core, it's in the $PGDATA/base/nnn/ directory of the database they're
connected to.  So you can easily distinguish a postmaster core from
a backend core, just by where it was dropped.)

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <7165.1037853073@sss.pgh.pa.us>
Permalink:  ../7165.1037853073@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7165.1037853073@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, admin+pgsqladmin@thirdage.com
  Subject: Re: crash help, pgsql 7.2.1 on RH7.3
  In-Reply-To: <7165.1037853073@sss.pgh.pa.us>
  References: <02dd01c290d6$71e8abb0$2c0210ac@loisaida> <6907.1037850813@sss.pgh.pa.us> <7165.1037853073@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