I just started looking into DCOracle2 and found this in the release notes:

'''
Python is not linked against libpthread (Linux)

Oracle on Linux is linked against libpthread. Some recent linux
distributions may include versions of Python that are not linked against
libpthread. When dco2 is loaded, it will load the Oracle shared libraries
which are incompatible with the libpth libraries of the existing Python
binary. This will cause random lockups to occur to the process. The only
solution is to acquire a Python that is not linked against libpth, but is
instead linked against libptthread. This may be accomplished by either
obtaining a different Python binary package, or rebuilding Python from
source.
'''

See http://www.zope.org/Members/matt/dco2/dco2doc, the Building and
Installation section

Might this be the problem? Seems like this threading issue would affect any
Python Oracle API...

- Ben

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marcos
Sánchez Provencio
Sent: Wednesday, March 19, 2003 1:55 PM
To: Geoffrey Talvola
Cc: [EMAIL PROTECTED]
Subject: RE: [Webware-devel] Blocking threads


Unfortunately, I do not have the time or skill to do it... Since it was
a very simple app, I have switched to Skunkweb (yes, the competition
:-), that preforks. That works fine on this project.

Thank you for all your time.

El mar, 18 de 03 de 2003 a las 16:15, Geoffrey Talvola escribió:
> I know this isn't much help, but it seems to me that the problem has to be
> in the Oracle adapters.  Some blocking API call must not be releasing the
> global interpreter lock.
>
> Is there any way you can attach to the process with the debugger and
figure
> out where it's wedged?
>
> - Geoff
>
> > -----Original Message-----
> > From: Marcos [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 17, 2003 6:50 AM
> > To: [EMAIL PROTECTED]
> > Subject: [Webware-devel] Blocking threads
> >
> >
> > We still get threads blocking each other when accessing
> > Oracle. We have
> > tried cx_Oracle and DCOracle2. The symptom is as follows:
> >
> > - Launch AppServer.
> > - Launch WAPT load testing tool with 40 users.
> > - Performance is poor, but acceptable.
> > - The AppServer windows freezes.
> > - We hit ^C. One of the threads says that Oracle has interrupted the
> > command by user request (or sth). The other threads respond
> > immediately.
> >
> > So, I think it is clear that the stopped thread was indeed blocking
> > other threads. We are not using any locking mechanism in our code.
> >
> > Where should I look?
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by:Crypto Challenge is now open!
> > Get cracking and register here for some mind boggling fun and
> > the chance of winning an Apple iPod:
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> > _______________________________________________
> > Webware-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/webware-devel
> >
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Does your code think in ink?
> You could win a Tablet PC. Get a free Tablet PC hat just for playing.
> What are you waiting for?
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
> _______________________________________________
> Webware-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-devel
--
Marcos Sánchez Provencio <[EMAIL PROTECTED]>
www.burke.es



-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink?
You could win a Tablet PC. Get a free Tablet PC hat just for playing.
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel




-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to