pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Huxton <dev@archonet.com>
Cc: surabhi.ahuja <surabhi.ahuja@iiitb.ac.in>
Cc: pgsql-general@postgresql.org
Subject: Re: FATAL: terminating connection due to administrator command
Date: Tue, 24 Jan 2006 09:52:58 -0500
Message-ID: <18375.1138114378@sss.pgh.pa.us> (raw)
In-Reply-To: <43D5F087.70007@archonet.com>
References: <967CFC4343BF2A4DAFACD026D33DC85118ECB0@jal.iiitb.ac.in>
	<43D5F087.70007@archonet.com>

Richard Huxton <dev@archonet.com> writes:
> surabhi.ahuja wrote:
>> so does this mean that someone is trying to stop postmaster by
>> sending it a kill signal?

> Someone or something. It can be Linux's out-of-memory facility picking 
> processes to kill. Google "oom killer" for discussion.

No, because the OOM killer invariably uses "kill -9".  "Fast shutdown"
means that something sent the postmaster a SIGINT.

If you launch the postmaster manually and are not careful to make it
dissociate from your terminal, then typing ^C at some unrelated program
later would be enough to make this happen ...

>> 1. many times i have seen two instances of postmaster running. how
>> does that happen and how to prevent it from happening?

> Shouldn't (unless you have two installations of course).

Perhaps he's not understanding the difference between the postmaster and
its child processes?  I don't believe he's actually got two postmasters
running (unless maybe in separate directories with separate ports, which
is hardly likely to be a setup one would create by accident).  There are
*very* extensive safety interlocks in place to prevent that.

			regards, tom lane



view thread (12+ messages)  latest in thread

Message-ID: <18375.1138114378@sss.pgh.pa.us>
Permalink:  ../18375.1138114378@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18375.1138114378@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dev@archonet.com, surabhi.ahuja@iiitb.ac.in
  Subject: Re: FATAL: terminating connection due to administrator command
  In-Reply-To: <18375.1138114378@sss.pgh.pa.us>
  References: <967CFC4343BF2A4DAFACD026D33DC85118ECB0@jal.iiitb.ac.in> <43D5F087.70007@archonet.com> <18375.1138114378@sss.pgh.pa.us>

* 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