pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re:
1+ messages / 1 participants
[nested] [flat]

* Re:
@ 2004-10-27 09:11 Richard Huxton <dev@archonet.com>
  0 siblings, 0 replies; 1+ messages in thread

From: Richard Huxton @ 2004-10-27 09:11 UTC (permalink / raw)
  To: f-f@club-internet.fr; +Cc: pgsql-general

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



^ permalink  raw  reply  [nested|flat] 1+ messages in thread


only message in thread

Thread overview: 1+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-10-27 09:11 Re: Richard Huxton <dev@archonet.com>

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