pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: chen@musc.edu
Cc: pgsql-admin list <pgsql-admin@postgresql.org>
Cc: mckilldj@musc.edu
Subject: Re: postgresql database connection
Date: Thu, 19 May 2005 11:57:29 -0500
Message-ID: <1116521849.31821.91.camel@state.g2switchworks.com> (raw)
In-Reply-To: <428CBFB8.10504@musc.edu>
References: <428CBFB8.10504@musc.edu>

On Thu, 2005-05-19 at 11:32, Chuming Chen wrote:
> Hi, all,
> 
> If the client didn't close the connection explicitly, how long it will 
> be kept then closed by the server. Does this effect the performance?

Until the TCP/IP timeout occurs, which is usually several hours.

It only affects performance if there's a lot (like several hundred) dead
connections laying around, or if there are so many you run out of
connections and your app can't get to the database.



view thread (2+ messages)

Message-ID: <1116521849.31821.91.camel@state.g2switchworks.com>
Permalink:  ../1116521849.31821.91.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1116521849.31821.91.camel@state.g2switchworks.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: smarlowe@g2switchworks.com, chen@musc.edu, mckilldj@musc.edu
  Subject: Re: postgresql database connection
  In-Reply-To: <1116521849.31821.91.camel@state.g2switchworks.com>
  References: <428CBFB8.10504@musc.edu> <1116521849.31821.91.camel@state.g2switchworks.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