Re: kill -KILL: What happens? - Mailing list pgsql-hackers

From David Fetter
Subject Re: kill -KILL: What happens?
Date
Msg-id 20110113233214.GF8754@fetter.org
Whole thread Raw
In response to Re: kill -KILL: What happens?  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
On Thu, Jan 13, 2011 at 03:29:13PM -0800, Jeff Davis wrote:
> On Thu, 2011-01-13 at 11:14 -0800, David Fetter wrote:
> > I get that we can't prevent all pilot error, but I was hoping we
> > could bullet-proof this a little more, especially in light of a
> > certain extremely popular server OS's OOM killer's default
> > behavior.
> 
> That's a good point.  I'm not sure how much action can reasonably be
> taken, however.

We may find out from Florian's experiments :)

> > Yes, I get that that behavior is crazy, and stupid, and that
> > people should shut it off, but it *is* our problem if we let the
> > postmaster start (or continue) when it's set that way.
> 
> As an aside, linux has actually changed the heuristic:
> 
>
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=a63d83f427fbce97a6cea0db2e64b0eb8435cd10

Great!  In a decade or so, no more servers will be running with an
earlier kernel ;)

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: kill -KILL: What happens?
Next
From: Tatsuo Ishii
Date:
Subject: Re: Error code for "terminating connection due to conflict with recovery"