From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bojan Belovic <bbelovic@usa.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Killing a child process
Date: Mon, 15 Apr 2002 20:28:58 -0400
Message-ID: <7605.1018916938@sss.pgh.pa.us> (raw)
In-Reply-To: <DCEJKACCHKFOPHFEPKPIMECKCFAA.bbelovic@usa.net>
References: <DCEJKACCHKFOPHFEPKPIMECKCFAA.bbelovic@usa.net>
"Bojan Belovic" <bbelovic@usa.net> writes:
> Every once in a while I'll spot a query that is taking unusually long time
> to run (a chiled process that keeps the processor at 100% for like 3
> minutes). Is there a way to see the queries currently executing
ps, top? Also see the stats views, if you are running 7.2.
> and/or kill
> a single process without affecting the operation of the server
kill -INT to a backend will issue a query cancel, which is pretty safe.
regards, tom lane
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, bbelovic@usa.net
Subject: Re: Killing a child process
In-Reply-To: <7605.1018916938@sss.pgh.pa.us>
References: <DCEJKACCHKFOPHFEPKPIMECKCFAA.bbelovic@usa.net> <7605.1018916938@sss.pgh.pa.us>
* 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