Re: killing old connections

From: Joshua Leshan <leshan(at)ugsolutions(dot)com>
To: Tim White <twhite(at)friendlyworks(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: killing old connections
Date: 2000-06-07 15:19:10
Message-ID: Pine.LNX.3.96.1000607100741.3770I-100000@diner.ug.eds.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Did you get an answer to this?

If you are on a unix machine you can check the processes (using ps)
and then grep for pgsql or the postgres user.

Once you have that list, you can kill the individual processes (if you have
the proper permissions).

Jd

On Tue, 6 Jun 2000, Tim White wrote:

> Is there a way to view the active/inactive connections to PostgreSQL 6.5.3?
> And if so is it possible to kill those that are inactive? I'm having
> difficulty in testing using a Java application, where connections are
> established and then not being destroyed properly. This causes me to get an
> error message stating that there are "...too many clients already.".
>
> Any help is greatly appreciated.
>
> Tim White
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message John Daniels 2000-06-08 14:14:52 Re: FreeBSD PostgreSQL7 port and v7.0.2
Previous Message R D 2000-06-07 14:05:59 pg_dump and OID in 7.0.1