Re: Dying PostgreSQL backend - Mailing list pgsql-admin

From Tom Lane
Subject Re: Dying PostgreSQL backend
Date
Msg-id 4845.1020692731@sss.pgh.pa.us
Whole thread Raw
In response to Dying PostgreSQL backend  ("otisg" <otisg@iVillage.com>)
List pgsql-admin
"otisg" <otisg@iVillage.com> 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

pgsql-admin by date:

Previous
From: "Rajesh Kumar Mallah."
Date:
Subject: Re: SERIAL Field
Next
From: "Mark McEahern"
Date:
Subject: Re: configure datatype name > 31?