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 E4DF89DC973 for ; Tue, 24 Jan 2006 10:53:09 -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 15764-07 for ; Tue, 24 Jan 2006 10:53:14 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 9CED39DC86A for ; Tue, 24 Jan 2006 10:53:06 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k0OEqwAF018376; Tue, 24 Jan 2006 09:52:58 -0500 (EST) To: Richard Huxton cc: "surabhi.ahuja" , pgsql-general@postgresql.org Subject: Re: FATAL: terminating connection due to administrator command In-reply-to: <43D5F087.70007@archonet.com> References: <967CFC4343BF2A4DAFACD026D33DC85118ECB0@jal.iiitb.ac.in> <43D5F087.70007@archonet.com> Comments: In-reply-to Richard Huxton message dated "Tue, 24 Jan 2006 09:16:55 +0000" Date: Tue, 24 Jan 2006 09:52:58 -0500 Message-ID: <18375.1138114378@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.096 required=5 tests=[AWL=0.096] X-Spam-Score: 0.096 X-Spam-Level: X-Archive-Number: 200601/1181 X-Sequence-Number: 90126 Richard Huxton 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