[Webware-discuss] RE: [ZODB-Dev] Webkit Threading and ZODB 3. 3a2: problems on Windows

Geoffrey Talvola gtalvola at nameconnector.com
Thu Feb 19 13:43:39 EST 2004


Tim Peters wrote:
> Alas, it wasn't clear in the original report whether threads *are*
> getting created and destroyed, or whether the threads in the pool
> hang around forever.  If the latter, it doesn't matter how ofter tids
> get reused; whether on Linux or Windows, no two threads
> *simultaneously* 
> alive will
> return the same tid.

In its default configuration, Webware _will_ create and destroy threads
occasionally; it has a "variable thread pool" that attempts to adjust the
number of active threads according to the load.  But you can configure it to
just use a fixed pool of threads by setting the three AppServer.config
options StartServerThreads, MaxServerThreads, and MinServerThreads to the
same number.  In fact, that's what I recommend doing; the variable thread
pool always seemed a bit pointless to me anyway.

I recommend setting those three options to the same value and seeing if your
problem goes away.

- Geoff



More information about the ZODB-Dev mailing list