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

surabhi.ahuja wrote:
> The exact message i saw is this:
> 
> LOG:  received fast shutdown request LOG:  aborting any active
> transactions FATAL:  terminating connection due to administrator
> command
> 
> 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. It would need to 
be sent from the postgres user or root though (or a process running as 
them).

> i also have these questions:
> 
> 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). You shouldn't 
have to do anything to prevent it from happening. Try and capture 
details of the processes with "ps aux" and "pstree" if you can.

> 2. into the logfile (which i specify at the time of starting
> postmaster), i want to add timestamps, for each log/warning etc. How
> do i do that?

See the manuals for details - run-time environment / error reporting and 
logging.
   http://www.postgresql.org/docs/

-- 
   Richard Huxton
   Archonet Ltd



view thread (12+ messages)  latest in thread

Message-ID: <43D5F087.70007@archonet.com>
Permalink:  ../43D5F087.70007@archonet.com/
Also on:    postgresql.org/message-id/43D5F087.70007@archonet.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 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: dev@archonet.com, surabhi.ahuja@iiitb.ac.in, tgl@sss.pgh.pa.us
  Subject: Re: FATAL: terminating connection due to administrator
  In-Reply-To: <43D5F087.70007@archonet.com>
  References: <967CFC4343BF2A4DAFACD026D33DC85118ECB0@jal.iiitb.ac.in> <43D5F087.70007@archonet.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