X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 3542F9DCB51 for ; Tue, 24 Jan 2006 05:17:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 18354-01 for ; Tue, 24 Jan 2006 05:17:24 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by postgresql.org (Postfix) with ESMTP id 85C4E9DCAC9 for ; Tue, 24 Jan 2006 05:17:21 -0400 (AST) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 0228E402A95; Tue, 24 Jan 2006 09:16:51 +0000 (GMT) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id A94C515EE9; Tue, 24 Jan 2006 09:16:55 +0000 (GMT) Message-ID: <43D5F087.70007@archonet.com> Date: Tue, 24 Jan 2006 09:16:55 +0000 From: Richard Huxton User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: "surabhi.ahuja" Cc: Tom Lane , pgsql-general@postgresql.org Subject: Re: FATAL: terminating connection due to administrator References: <967CFC4343BF2A4DAFACD026D33DC85118ECB0@jal.iiitb.ac.in> In-Reply-To: <967CFC4343BF2A4DAFACD026D33DC85118ECB0@jal.iiitb.ac.in> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.077 required=5 tests=[AWL=0.077] X-Spam-Score: 0.077 X-Spam-Level: X-Archive-Number: 200601/1153 X-Sequence-Number: 90098 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