pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Filip Svendsen <fs@basepointmedia.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Koczan <pjkoczan@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Bus error in postgres 8.3
Date: Thu, 1 May 2008 10:22:17 +0200
Message-ID: <a44f084b0805010122i34de356aneebc3698917b74f0@mail.gmail.com> (raw)
In-Reply-To: <25410.1209448864@sss.pgh.pa.us>
References: <4544e0330804282205odfcac5al6bca78bd27c8751b@mail.gmail.com>
	<25410.1209448864@sss.pgh.pa.us>

On Tue, Apr 29, 2008 at 8:01 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Peter Koczan" <pjkoczan@gmail.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

Do you think a too low limit on user processes could be causing the problem?

We have had similar crashes (server process terminated with Bus
Error). This is running 8.2.5 on OS X (Tiger, intel),  with about
130-140 connections, but the process count limit is 1000. Any reason
why the process limit should be vastly higher than the number of
connections?

-- 
Venlig Hilsen / Kind Regards

Filip Svendsen
fs@basepointmedia.com



view thread (6+ messages)  latest in thread

Message-ID: <a44f084b0805010122i34de356aneebc3698917b74f0@mail.gmail.com>
Permalink:  ../a44f084b0805010122i34de356aneebc3698917b74f0@mail.gmail.com/
Also on:    postgresql.org/message-id/a44f084b0805010122i34de356aneebc3698917b74f0@mail.gmail.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: fs@basepointmedia.com, tgl@sss.pgh.pa.us, pjkoczan@gmail.com
  Subject: Re: Bus error in postgres 8.3
  In-Reply-To: <a44f084b0805010122i34de356aneebc3698917b74f0@mail.gmail.com>

* 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