Re: connection limit exceeded - Mailing list pgsql-admin

From Jonah H. Harris
Subject Re: connection limit exceeded
Date
Msg-id 36e682920711301317v743865f0jc87b2bd91a3228f9@mail.gmail.com
Whole thread Raw
In response to Re: connection limit exceeded  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
List pgsql-admin
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/

pgsql-admin by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Enhancement request
Next
From: "Tommy Cheng"
Date:
Subject: How to identify the current WAL segment file