X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2C77D3A3C69 for ; Wed, 27 Oct 2004 10:11:24 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 62509-05 for ; Wed, 27 Oct 2004 09:11:17 +0000 (GMT) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by svr1.postgresql.org (Postfix) with ESMTP id 577723A3BDC for ; Wed, 27 Oct 2004 10:11:18 +0100 (BST) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-35.mail.demon.net with esmtp (Exim 4.42) id 1CMkm6-000Ojb-I3; Wed, 27 Oct 2004 10:11:27 +0000 Received: from [192.168.1.17] (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 5327D170A0; Wed, 27 Oct 2004 10:11:16 +0100 (BST) Message-ID: <417F6634.90303@archonet.com> Date: Wed, 27 Oct 2004 10:11:16 +0100 From: Richard Huxton User-Agent: Mozilla Thunderbird 0.7 (X11/20040615) X-Accept-Language: en-us, en MIME-Version: 1.0 To: f-f@club-internet.fr Cc: pgsql-general@postgresql.org Subject: Re: References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/1305 X-Sequence-Number: 67828 f-f@club-internet.fr wrote: > Hello ! > > To kill a session i used KILL -INT . > > This command wasn't successfull. The processus is still here when a > 'ps ax' or a 'select * from pg_stat_activity' > > Is there an other way to kill this process only because a web server > 24/7 use postgres and cannot stop postgresql now. From the manuals: To terminate the postmaster normally, the signals SIGTERM, SIGINT, or SIGQUIT can be used. The first will wait for all clients to terminate before quitting, the second will forcefully disconnect all clients, and the third will quit immediately without proper shutdown, resulting in a recovery run during restart. The utility command pg_ctl can be used to start and shut down the postmaster safely and comfortably. Does pg_ctl do anything for you? -- Richard Huxton Archonet Ltd