pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: f-f@club-internet.fr
Cc: pgsql-general@postgresql.org
Subject: Re:
Date: Wed, 27 Oct 2004 10:11:16 +0100
Message-ID: <417F6634.90303@archonet.com> (raw)
In-Reply-To: <mnet3.1098862877.10543.f-f@club-internet.fr>
References: <mnet3.1098862877.10543.f-f@club-internet.fr>

f-f@club-internet.fr wrote:
> Hello !
> 
> To kill a session i used KILL -INT <PID>.
> 
> 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



Message-ID: <417F6634.90303@archonet.com>
Permalink:  ../417F6634.90303@archonet.com/
Also on:    postgresql.org/message-id/417F6634.90303@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, f-f@club-internet.fr
  Subject: Re: 
  In-Reply-To: <417F6634.90303@archonet.com>
  References: <mnet3.1098862877.10543.f-f@club-internet.fr> <417F6634.90303@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