[Zope-dev] more than one user: zope 'hangs'

2001-12-11 Thread Stephan Herschel

Hello,

We have got a funny problem in Zope: if user A issues a long-running
query user B also has to wait in the meantime - zope just waits for A's
query to finish.

We are using interbase as our database and GV Interbase Database Adapter
0.9.6 on a linux system. In the README it says 'threadsafety ... is set
to 1 - threads may share the module but not connections'

Somehow i suspect the problem lies there. Can anyone give me a hint on
this problem?

Thanks in advance,
Stephan

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] more than one user: zope 'hangs'

2001-12-11 Thread Chris McDonough

Stephan,

This likely means that the interbase database adapter essentially
serializes access to the database.

You may want to try sending a mail to the DA maintainer if he is not
on the list...

Thanks!

- C


- Original Message -
From: Stephan Herschel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 11, 2001 9:30 AM
Subject: [Zope-dev] more than one user: zope 'hangs'


 Hello,

 We have got a funny problem in Zope: if user A issues a long-running
 query user B also has to wait in the meantime - zope just waits for
A's
 query to finish.

 We are using interbase as our database and GV Interbase Database
Adapter
 0.9.6 on a linux system. In the README it says 'threadsafety ... is
set
 to 1 - threads may share the module but not connections'

 Somehow i suspect the problem lies there. Can anyone give me a hint
on
 this problem?

 Thanks in advance,
 Stephan

 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] more than one user: zope 'hangs'

2001-12-11 Thread Brad Clements

On 11 Dec 2001 at 15:30, Stephan Herschel wrote:

 We have got a funny problem in Zope: if user A issues a long-running
 query user B also has to wait in the meantime - zope just waits for A's
 query to finish.

Bob's original design made gvibDA use ThunkedTM

So I believe it is serialized.

I think the reason for using Thunked was because under Windows, gds is not truly 
multi-threaded and dies.

I do not recall exactly what the story is.. You're welcome to try it without the 
Thunked 
Mixin.


Brad Clements,[EMAIL PROTECTED]   (315)268-1000
http://www.murkworks.com  (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com   AOL-IM: BKClements


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )