[Zope] Hanging Zope

Chris Kratz chris.kratz at vistashare.com
Wed Mar 2 09:10:54 EST 2005


On Tuesday 01 March 2005 11:28 am, Chris Withers wrote:
> Chris Kratz wrote:
> >>Where are you using apelib to store your data?
>
> Sorry, my question was unclear ;-)
>
> > I'm not exactly sure what your asking, but we are using the file system
> > mapping.  Here is the relevant portion of our zope.conf
> >
> > %import Products.Ape
> > <ape-db main>
> >   <ape-storage>
> >     mapper-variation filesystem
>
> ...the answer is "file system" :-)
>
> cheers,
>
> Chris

Hey, no problem.  Dieter gave a hint that Apelib may be a red herring and the 
real problem may be a threading bug in python.  I'm waiting till I have some 
time to upgrade python to a newer version and do some testing to see if that 
helps before I push it out to our live system.

I do wish I could find a way to make apelib faster.  Because of the calls to 
checking file mtime's, it is noticably slower then normal zodb especially 
with large numbers of objects.  Startup is downright painfull.  But we are 
addicted to using subversion, and this has been the absolute best way to use 
subversion & zope to handle rapid code changes among several developers.  

I'm starting to toy with the thought of "compiling" an apelib based db into 
another fs based ZODB for normal use on our production servers by copying 
between them.  That would certainly help with performance.

Cheers,

-Chris

-- 
Chris Kratz
Systems Analyst/Programmer


More information about the Zope mailing list