From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | f-f(at)club-internet(dot)fr |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: |
Date: | 2004-10-27 09:11:16 |
Message-ID: | 417F6634.90303@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
f-f(at)club-internet(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Glaesemann | 2004-10-27 09:16:36 | Re: Comment on timezone and interval types |
Previous Message | Martijn van Oosterhout | 2004-10-27 09:00:38 | Re: Comment on timezone and interval types |