X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 836C8D1B4EF for ; Thu, 29 Jan 2004 23:58:38 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 76510-08 for ; Thu, 29 Jan 2004 19:58:10 -0400 (AST) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by svr1.postgresql.org (Postfix) with ESMTP id 76C57D1C98E for ; Thu, 29 Jan 2004 19:57:58 -0400 (AST) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.10/8.12.10) with ESMTP id i0TNtp7M014313; Thu, 29 Jan 2004 16:55:51 -0700 (MST) Date: Thu, 29 Jan 2004 16:52:31 -0700 (MST) From: "scott.marlowe" To: Juan Miguel Cc: Hadley Willan , "Gregory S. Williamson" , PGSQL Admin Subject: Re: Forcing connections closed In-Reply-To: <40198AE2.5000808@ono.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IHS-MailScanner: Found to be clean X-IHS-MailScanner-SpamCheck: X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/284 X-Sequence-Number: 12147 On Thu, 29 Jan 2004, Juan Miguel wrote: > You can kill the procs (connections) using kill -9 PID Just use kill PID first! 'kill -9' PID will force all backends to flush cache for no good reason. Note that on most unixes, a plain kill PID will send the term signal, which tells the process to poltely shutdown and release resources. kill -9 is like using a sledge hammer to swat a fly for this.