Skip site navigation (1) Skip section navigation (2)

Re: Bus error in postgres 8.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Peter Koczan" <pjkoczan(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Bus error in postgres 8.3
Date: 2008-04-29 06:01:04
Message-ID: 25410.1209448864@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
"Peter Koczan" <pjkoczan(at)gmail(dot)com> writes:
> I'm going to try to force a crash on my test server to see if I can
> find out anything more. Does anyone know how to get useful debugging
> info at the time of the crash? I don't think I have things set to dump
> core anywhere, but that and/or stack traces would be nice (especially
> for child processes).

Make sure the postmaster is started under ulimit -c unlimited.
On a depressingly large fraction of modern platforms, daemons are
started with ulimit -c 0 by default :-(.  Try putting "ulimit -c unlimited"
into your PG init script and restarting.

			regards, tom lane

In response to

Responses

pgsql-admin by date

Next:From: Pavan DeolaseeDate: 2008-04-29 06:03:23
Subject: Re: Bus error in postgres 8.3
Previous:From: Peter KoczanDate: 2008-04-29 05:05:11
Subject: Bus error in postgres 8.3

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group