Skip site navigation (1) Skip section navigation (2)

Re: connection limit exceeded

From: "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: connection limit exceeded
Date: 2007-11-30 21:27:20
Message-ID: FE44E0D7EAD2ED4BB2165071DB8E328C03062DF1@egcrc-ex01.egcrc.org (view raw or flat)
Thread:
Lists: pgsql-admin
Many thanks, Jonah!

Tena Sakai
tsakai(at)gallo(dot)ucsf(dot)edu


-----Original Message-----
From: Jonah H. Harris [mailto:jonah(dot)harris(at)gmail(dot)com]
Sent: Fri 11/30/2007 1:17 PM
To: Tena Sakai
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] connection limit exceeded
 
On Nov 30, 2007 3:34 PM, Tena Sakai <tsakai(at)gallo(dot)ucsf(dot)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(dot)harris(at)enterprisedb(dot)com
Edison, NJ 08837                        | http://www.enterprisedb.com/

In response to

pgsql-admin by date

Next:From: Tena SakaiDate: 2007-11-30 21:28:30
Subject: Re: connection limit exceeded
Previous:From: Usama DarDate: 2007-11-30 21:24:41
Subject: Re: connection limit exceeded

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group