Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id DFBE9475F28 for ; Thu, 5 Dec 2002 05:08:16 -0500 (EST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 89C2C475EAE for ; Thu, 5 Dec 2002 05:08:15 -0500 (EST) Received: (qmail 27555 invoked from network); 5 Dec 2002 10:08:16 -0000 Received: from unknown (HELO tpf.co.jp) (126.0.1.60) by sd2.tpf-fw-c.co.jp with SMTP; 5 Dec 2002 10:08:16 -0000 Message-ID: <3DEF25F4.D92A5CF6@tpf.co.jp> Date: Thu, 05 Dec 2002 19:09:56 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Raymond O'Donnell Cc: pgsql-odbc@postgresql.org Subject: Re: Connections sitting idle... References: <3DEF21F9.503.187D9C@localhost> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/33 X-Sequence-Number: 2422 Raymond O'Donnell wrote: > > On 5 Dec 2002 at 11:53, Hiroshi Inoue wrote: > > > Yes IIS uses the connection pooling mechanism by default. > > Pooled connections would be re-used if possible for other > > sessions without re-establishing new connections. > > I should have mentioned that I turned off connection pooling for the > PostgreSQL ODBC driver to see would it make a difference, but the > backends hung around anyway. IIS can use connection pooling by itself. > On the production system I will use > pooling - if the backends are there, hopefully they'll be re-used > rather than having new ones opened. I still have to try this out. > > > Anyway I can't see other sessions' info at all in your > > example. How do other sessions behave ? > > The same thing happens consistently. I saw no other session's log in your example between 'select * from surveyowners' and the call for PGAPI_ Disconnect. I'm wondering how the number of connections increased in such a situation. regards, Hiroshi Inoue http://w2422.nsk.ne.jp/~inoue/