Re: [Zope-dev] Threads dying on zope 2.7.0 on one Zeo setup, ZServer exception

2004-05-18 Thread Dieter Maurer
Heimo Laukkanen wrote at 2004-5-18 14:10 +0300: > ... >At the moment with testing setup under load test ZServer dies - leaving >all but one thread at almost 0% cpu and that one thread working in high >loads of 90%. Testing similar zeo-setup with development instances do >not produce this. Provi

[Zope-dev] Threads dying on zope 2.7.0 on one Zeo setup, ZServer exception

2004-05-18 Thread Heimo Laukkanen
Hi ya, I noticed some weird bahivour that was bringing a setup down on our servers on testing installation. In our setup we create development sandboxes with makefile and in similar fashion also testing/production servers. Our testing/production setup has a little bit different config files whe

Re: [Zope-dev] Threads, Locks, Volatility, and Angst

2004-04-01 Thread Christian Theune
On Thu, 2004-04-01 at 00:25, Ian Beatty wrote: > > I thought "Okay, no problem. I'll just make the lock variable volatile, > since I don't really care whether it persists when Zope shuts down." So I > renamed the lock to begin with '_v_'. That solves my "UnpickleableError" > problem nicely. Unfort

Re: [Zope-dev] Threads, Locks, Volatility, and Angst

2004-03-31 Thread Ian Beatty
On 2004-03-31 5:42 PM, [EMAIL PROTECTED] is reputed to have said: > Do you use this unique ID only as some kind of session ID? Yes, exactly. > If you only > need these IDs during a session (don't have to store them in ZODB), you > can create a thread safe class for managing them and then use an

RE: [Zope-dev] Threads, Locks, Volatility, and Angst

2004-03-31 Thread zope
/exUserFold er/exUserFolder.py?content-type=text%2Fplain&rev=1.91 Regards, Sandor > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ian Beatty > Sent: Wednesday, March 31, 2004 4:26 PM > To: [EMAIL PROTECTED] > Subject: [Zope-

[Zope-dev] Threads, Locks, Volatility, and Angst

2004-03-31 Thread Ian Beatty
Greetings. I'm looking for a little wisdom -- specifically, about thread locks and Zope. I'm developing a Python-based product. One of the classes needs to hand out unique IDs to clients as they connect for the first time. I generate these by keeping an index integer in the instance that starts a

[Zope-dev] Threads...

2001-05-04 Thread Magnus Heino (Rivermen)
Hi. I want to start a thread from my product. I'm doing it in the same way as the code below. Label is set to 'a' as default. If I change this to 'b' and save, Label is changed to contain 'b'. But, it seems as if Label is loaded with the saved value at some later point than the last row below

Re: [Zope-dev] Threads Optimizing Linux.

2001-04-16 Thread Federico Di Gregorio
Scavenging the mail folder uncovered Aitor Grajal Crespo's letter: > Hello , my question is a bit complex ( for me ). I have : > > - Linux RH 6.1 > - python 1.5.2 --with-thread (source compiled) > - zope 2.2.x or zope 2.3.x (source compiled) > > In any program in python with Linux (inclusive Zop

[Zope-dev] Threads Optimizing Linux.

2001-04-16 Thread Aitor Grajal Crespo
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/   Aitor Grajal Crespo Director General e-mail: a[EMAIL PROTECTED]   INETSYS, S.L. ETSI Informática Ctra. Colmenar, km. 15,500 28049 MADRID SPAIN Tfno : (34) 91 348 22 66 - Fax : (34) 91 348 22 66 http://www.inetsys.es   /_/_/_/_/_/_/_/_/_/