pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jonah H. Harris <jonah.harris@gmail.com>
To: Tena Sakai <tsakai@gallo.ucsf.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: connection limit exceeded
Date: Fri, 30 Nov 2007 16:17:05 -0500
Message-ID: <36e682920711301317v743865f0jc87b2bd91a3228f9@mail.gmail.com> (raw)
In-Reply-To: <FE44E0D7EAD2ED4BB2165071DB8E328C03062DF0@egcrc-ex01.egcrc.org>
References: <FE44E0D7EAD2ED4BB2165071DB8E328C03062DED@egcrc-ex01.egcrc.org>
	<36e682920711301203g7fdb1b81vc7d2bbb2e4018827@mail.gmail.com>
	<FE44E0D7EAD2ED4BB2165071DB8E328C03062DF0@egcrc-ex01.egcrc.org>

On Nov 30, 2007 3:34 PM, Tena Sakai <tsakai@gallo.ucsf.edu> wrote:
>  This is a wonderful view!  How would I properly terminate
>  these (of course there are 99 of them!) these query process?
>  Should I do this from unix or is there any postgres tool I
>  can use?

pg_cancel_backend will cancel a query on them.  As for killing the
process itself, use:

kill -TERM

-- 
Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
EnterpriseDB Corporation                | fax: 732.331.1301
499 Thornall Street, 2nd Floor          | jonah.harris@enterprisedb.com
Edison, NJ 08837                        | http://www.enterprisedb.com/



view thread (10+ messages)  latest in thread

Message-ID: <36e682920711301317v743865f0jc87b2bd91a3228f9@mail.gmail.com>
Permalink:  ../36e682920711301317v743865f0jc87b2bd91a3228f9@mail.gmail.com/
Also on:    postgresql.org/message-id/36e682920711301317v743865f0jc87b2bd91a3228f9@mail.gmail.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: jonah.harris@gmail.com, tsakai@gallo.ucsf.edu
  Subject: Re: connection limit exceeded
  In-Reply-To: <36e682920711301317v743865f0jc87b2bd91a3228f9@mail.gmail.com>

* 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