Re: postgres server crashes unexpectedly - Mailing list pgsql-sql

From Colin Wetherbee
Subject Re: postgres server crashes unexpectedly
Date
Msg-id 47E010C6.8050201@denterprises.org
Whole thread Raw
In response to Re: postgres server crashes unexpectedly  ("Chadwick Horn" <chadhorn@gmail.com>)
List 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


pgsql-sql by date:

Previous
From: "Campbell, Lance"
Date:
Subject: Re: Create on insert a unique random number
Next
From: Erik Jones
Date:
Subject: Re: Create on insert a unique random number