Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 84132475461 for ; Mon, 15 Apr 2002 20:28:58 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g3G0SwF07609; Mon, 15 Apr 2002 20:28:58 -0400 (EDT) To: "Bojan Belovic" Cc: pgsql-admin@postgresql.org Subject: Re: Killing a child process In-reply-to: References: Comments: In-reply-to "Bojan Belovic" message dated "Mon, 15 Apr 2002 20:11:18 -0400" Date: Mon, 15 Apr 2002 20:28:58 -0400 Message-ID: <7605.1018916938@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200204/141 X-Sequence-Number: 4029 "Bojan Belovic" 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