From: | Thomas F(dot)O'Connell <tfo(at)sitening(dot)com> |
---|---|
To: | Ken Reid <Ken(at)homegain(dot)com> |
Cc: | PGSQL Admin <pgsql-admin(at)postgresql(dot)org> |
Subject: | Killing Processes |
Date: | 2005-04-23 15:58:46 |
Message-ID: | 399c5204777051febd1e3432d981b03b@sitening.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
It is generally not recommended that you kill processes with anything
stronger than HUP, which is (I believe) what kill sends by default.
Stronger signals will cause all backends to kill themselves because of
paranoia about data corruption.
If the process does not respond to that, then there is no convenient
way to kill it.
You can correlate processes to queries using the pg_stat_activity view.
-tfo
--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC
Strategic Open Source: Open Your i™
http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-260-0005
On Apr 22, 2005, at 6:03 PM, Ken Reid wrote:
> Hi Thomas.
>
> I have been searching high and low and cannot find a way to kill an
> individual
> user process with Postgres.
>
> I have tried using a kill -9 to kill a specific process but that
> brings the
> entire postmaster down.
>
> This seems to be a very common problem with no answers.
>
> Would you happen to know how to do this?
>
> Thanks.
>
> - Ken
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Fuhr | 2005-04-23 16:16:41 | Re: Killing Processes |
Previous Message | Thomas F.O'Connell | 2005-04-23 15:30:49 | Re: Where can I find the contrib/dbsize. contrib/.... |