Re: Close idle connections - Mailing list pgsql-general

From Fathi Ben Nasr
Subject Re: Close idle connections
Date
Msg-id 200206251049.g5PAnd918374@smtp.planet.tn
Whole thread Raw
In response to Close idle connections  (Uros Gruber <uros@sir-mag.com>)
List pgsql-general

You need to check your php app and see if you have in each page a
pg_close($socket) statement. If your app uses persistent connections to
reduce execution times, you should have only one connection per user.
Horde/imp is one app that uses a lot of connections, so if this is your
application, try to see if a recent version of horde/imp corrects this
problem.

Uros Gruber a écrit :

> Hi!
>
> i want to know if there is possible to close idle
> connections. I have some app in php but there is a lot of
> open connections idleing and sometimes i get to many
> connections.
>
> --
> lp,
>  Uros                         mailto:uros@sir-mag.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

(See attached file: smime.p7s)
Attachment

pgsql-general by date:

Previous
From: pdeepaly@rediffmail.com (Deepali)
Date:
Subject: Syntax to create objects in Postgresql
Next
From: kalyanshanky@yahoo.com (Shanker)
Date:
Subject: Parsing XML data into PostgreSQL using PHP