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 9993B52800 for ; Sat, 2 Jul 2005 04:17:17 -0300 (ADT) 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 29817-03 for ; Sat, 2 Jul 2005 07:17:07 +0000 (GMT) Received: from fep06-app.kolumbus.fi (fep06-0.kolumbus.fi [193.229.0.57]) by svr1.postgresql.org (Postfix) with ESMTP id A885152918 for ; Sat, 2 Jul 2005 04:17:05 -0300 (ADT) Received: from [192.168.1.103] (really [193.229.230.202]) by fep06-app.kolumbus.fi with ESMTP id <20050702071705.CMKV23148.fep06-app.kolumbus.fi@[192.168.1.103]>; Sat, 2 Jul 2005 10:17:05 +0300 Message-ID: <42C63F70.10100@kolumbus.fi> Date: Sat, 02 Jul 2005 10:17:04 +0300 From: Marko Ristola User-Agent: Debian Thunderbird 1.0.2 (X11/20050402) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joel Fradkin Cc: pgsql-odbc@postgresql.org Subject: Re: What to do about errors returned by odbc References: <000e01c57e3a$a8d1eca0$797ba8c0@jfradkin> In-Reply-To: <000e01c57e3a$a8d1eca0$797ba8c0@jfradkin> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.331 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200507/7 X-Sequence-Number: 5473 This might be a memory issue on 32bit computers. psqlodbc loads the whole query result into memory by default, on Windows too. IIS or Windows might supply memory at most 1-3 gigabytes for the CGI binary. So the actual upper limit might actually be much less, than 4G. This can be overcome by using ODBC directives like: Fetch = 2048 UseDeclareFetch = 1 Regards, Marko Ristola Joel Fradkin wrote: > I am running 8.0.3 database with 7.4 odbc. > > I am working on getting my ASCII over to Unicode so I can use the > newer odbc. > > I get on a too often basis the ODBC lock up on the IIS server (I can > re-boot IIS and see ODBC come back). > > The machine is not out of memory (4 gig Dell running win2k, database > is on a 8 gig redhat box). > > Unfortunately I display the error returned from the object and it > includes the text “Catastrophic Error”. > > This has been bad and I need to fix it, but I believe if I understand > my initial research it is actually an error from MS (either IIS or the > ODBC layer). > > Since it does not appear to be a memory issue (last time I had it > happen the machine was at 500 meg of 2 gig used by IIS) I am looking > for ideas as what to look for. > > Our application was on MSSQL and did not have errors with the odbc > (servers were very stable) to MSSQL. > > I have us converted and eliminated most of the application type errors > from the conversion, but the odbc to postgres I think is our issue > (may be how we have it coded). > > I am not using any kind of pooling (not sure if IIS does this on its > own as I do not see a million connections and we generally have 200+ > concurrent users). > > Any ideas I can research would be greatly appreciated. > > Joel Fradkin > > Wazagua, Inc. > 2520 Trailmate Dr > Sarasota, Florida 34243 > Tel. 941-753-7111 ext 305 > > jfradkin@wazagua.com > www.wazagua.com > Powered by Wazagua > Providing you with the latest Web-based technology & advanced tools. > © 2004. WAZAGUA, Inc. All rights reserved. WAZAGUA, Inc > This email message is for the use of the intended recipient(s) and may > contain confidential and privileged information. Any unauthorized > review, use, disclosure or distribution is prohibited. If you are not > the intended recipient, please contact the sender by reply email and > delete and destroy all copies of the original message, including > attachments. > >