Re: postgres server crashes unexpectedly

From: Colin Wetherbee <cww(at)denterprises(dot)org>
To: Chadwick Horn <chadhorn(at)gmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: postgres server crashes unexpectedly
Date: 2008-03-18 18:58:14
Message-ID: 47E010C6.8050201@denterprises.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Chadwick Horn wrote:
>> It looks to me like psql is managing to start a new connection
>> before the postmaster notices the crash of the prior backend and
>> tells everybody to get out of town. Which is odd, but maybe not
>> too implausible if your kernel is set up to favor interactive
>> processes over background --- it'd likely think psql is
>> interactive and the postmaster isn't.
>
> Is there a way to disable this or to make both interactive and/or
> background?

I'm not sure how applications tell the kernel whether they are
interactive or background (or even if they do, at all), but you can
set the kernel's preference for this in the kernel configuration.

If you're not comfortable recompiling a new kernel, though, then
you're out of luck.

At any rate, you should look more thoroughly for problems with your
database before blaming the kernel for something.

Colin

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Erik Jones 2008-03-18 18:59:50 Re: Create on insert a unique random number
Previous Message Campbell, Lance 2008-03-18 18:40:42 Re: Create on insert a unique random number