X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9D5A33A2C10 for ; Sat, 15 Jan 2005 10:36:56 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 98096-09 for ; Sat, 15 Jan 2005 10:36:46 +0000 (GMT) Received: from a.relay.invitel.net (a.relay.invitel.net [62.77.203.3]) by svr1.postgresql.org (Postfix) with ESMTP id CC0FC3A2C18 for ; Sat, 15 Jan 2005 10:36:47 +0000 (GMT) Received: from vadangyal.vnet.hu (mail.vnet.hu [213.163.59.4]) by a.relay.invitel.net (Invitel Core SMTP Transmitter) with ESMTP id EE10118D19E for ; Sat, 15 Jan 2005 11:36:45 +0100 (CET) Received: from [62.77.213.36] (adsl213036.vnet.hu [62.77.213.36]) by mail.vnet.hu (iPlanet Messaging Server 5.1 Patch 1 (built Jun 6 2002)) with ESMTPA id <0IAC00ICBTH8MX@mail.vnet.hu> for pgsql-odbc@postgresql.org; Sat, 15 Jan 2005 11:36:45 +0100 (CET) Received: from 127.0.0.1 (AVG SMTP 7.0.300 [265.6.12]); Sat, 15 Jan 2005 11:32:35 +0100 Date: Sat, 15 Jan 2005 11:32:34 +0100 From: =?iso-8859-2?Q?Egy=FCd_Csaba?= Subject: Re: pgsqlODBC problems In-reply-to: <41E8F7CE.30464.2CF21D@localhost> To: lothar.behrens@lollisoft.de, "'Pgsql-Odbc@Postgresql.Org'" Message-id: <0IAC00ICCTH9MX@mail.vnet.hu> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Content-type: text/plain; charset=iso-8859-2 Content-transfer-encoding: quoted-printable Thread-index: AcT66c753bUab0xnSLe/Gqv1mtQdIQAA5xbg X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200501/29 X-Sequence-Number: 4824 thank you Lothar, I'm going to check these. bye, Csaba=20 -----Original Message----- From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of lothar.behrens@lollisoft.de Sent: Saturday, January 15, 2005 11:01 AM To: Pgsql-Odbc@Postgresql.Org Subject: Re: [ODBC] pgsqlODBC problems Am 13 Jan 2005 um 13:33 hat Egy=FCd Csaba geschrieben: > Hi, > I need some information regarding pgsqlODBC driver on Windows2000. We=20 > use an application which inserts records pallely into an SQL database = via ODBC. > It estableshes 16 pallel connections and continously inserts data. The = > software works well on a test environment with MS Access and MS ODBC driver. > > > Using Postgres the application stopps inserting rows after 2-3 hours.=20 > Is there anybody who uses the postgres ODBC driver 24x7? Is that=20 > possible that the odbc dll contains a memory leak or a bug? > > At the time losing the connection the following entry appears in the=20 > postgres log file: > ------------------------------------------------------------------- > 2005-01-12 00:01:31 LOG: unexpected EOF on client connection > 2005-01-12 00:01:31 LOG: could not receive data from client: No=20 > connection could be made because the target machine actively refused = it. > ------------------------------------------------------------------- > Actively refused it: Seems, that the client TCP/IP stack has reached = maximum open or pending close socket connections. In this state, please check, if you can create new ODBC connections to = the server and see if this works. Check it with netstat -n to see a growing while the inserts. My own code shows me, that I am also would have too much open = connections. A memory problem would be told by the OS and you have not given any = client side log entries. > Other question: After numerous restart of the above mentioned software = > there are 50-70 connections in postgres (PGAdminIII server status=20 > window). How could I set a timeout for these connections to be = destroyed quicker. > If I close my test app, my connections will be closed after a short = time. > > (Environment: Win2k, PG8RC2, pgsqlODBC 7.03.02.00) > > > > Thank you very much, > > -- Csaba Egy=FCd. > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: = 2005.01.12. > > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: = 2005.01.12. > > > ---------------------------(end of=20 > broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster > ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.12 - Release Date: 2005.01.14. --=20 No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.12 - Release Date: 2005.01.14. =20 --=20 No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.12 - Release Date: 2005.01.14. =20 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.12 - Release Date: 2005.01.14.