pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Davebo Rodrigues <mr_d_rod@yahoo.com>
To: pgsql-odbc@postgresql.org
Subject: odbc otl lockup in rlogon
Date: Fri, 18 Jan 2008 08:44:03 -0800 (PST)
Message-ID: <487247.2181.qm@web81410.mail.mud.yahoo.com> (raw)

I am using he latest otl header (v  4.0.159) with the latest odbc library.  I have a heavily multi-threaded application using otl to do many simultaneous read/writes on my postgres database.  

Randomly, I will see the rlogon function lockup on the SQLSetEnvAttr function call.  

When I set Threading=3 or Threading=1, it locks up more often.
Also, I have compiled odbc and postgres for multi-threaded use.  I also call the otl_initialize(1), so that otl lets the driver know it is multithreaded.

My odbcinst.ini is setup as follows:
[PostgreSQL]
Description    = ODBC for PostgreSQL
Driver        = /usr/local/odbc/lib/libodbcpsql.so.2
Setup        = /usr/local/odbc/lib/libodbcpsqlS.so.2
FileUsage    = 1
CPTimeout    = 1000
CPReuse        = 20
Threading    = 2

[ODBC]
Trace        = no
TraceFile    = 
ForceTrace    = No
Pooling        = Yes

Any ideas???




      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

Message-ID: <487247.2181.qm@web81410.mail.mud.yahoo.com>
Permalink:  ../487247.2181.qm@web81410.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/487247.2181.qm@web81410.mail.mud.yahoo.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-odbc@postgresql.org
  Cc: mr_d_rod@yahoo.com
  Subject: Re: odbc otl lockup in rlogon
  In-Reply-To: <487247.2181.qm@web81410.mail.mud.yahoo.com>
  References: <487247.2181.qm@web81410.mail.mud.yahoo.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