Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E6587475925 for ; Wed, 20 Nov 2002 23:31:09 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 33A2F4758FE for ; Wed, 20 Nov 2002 23:31:09 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id gAL4VEsX007166; Wed, 20 Nov 2002 23:31:14 -0500 (EST) To: "Tim Lynch" Cc: pgsql-admin@postgresql.org Subject: Re: crash help, pgsql 7.2.1 on RH7.3 In-reply-to: <6907.1037850813@sss.pgh.pa.us> References: <02dd01c290d6$71e8abb0$2c0210ac@loisaida> <6907.1037850813@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Wed, 20 Nov 2002 22:53:33 -0500" Date: Wed, 20 Nov 2002 23:31:13 -0500 Message-ID: <7165.1037853073@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/185 X-Sequence-Number: 6373 I said: > "Tim Lynch" 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