Re: Upgrade (to 0.9.3) hangs

Reinhard Hess <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>

Benno Luthiger wrote:

> Dear Clemens and Martijn
> 
> After increasing the cache size from 400 to 20000 (Target number of objects
> in memory per cache), the whole upgrade went through smoothly.
> 
> 
>>Benno, how big is this database?
> 
> Here are the numbers:
>  Database Size: 21.4M
>  Total number of objects in the database: 9972
> 
> 
>>Are you using the upgrade script that zooms from 091 -> 093
>>or doing it manually?
> 
> I use the upgrade scripts, i.e. I start the upgrade from command line.
> 
> 
>>Did you wait a long time for the commit to happen?
> 
> Yes.
> 
> 
>>You may want to start
>>uncommenting print statements in the upgradeTree method in
>>upgrade.py to
>>see where exactly the hang occurs.
> 
> Good idea for then next time ;-)
> 
> Thanks,
> Benno
> 

Hi Martijn, hi Clemens

The default size for number of objects per cache in a fresh Zope instance is set to 400. Because of 
that, maybe it is a good idea to set the max number of subtransactions to something like 350 in the 
Silva/upgrade.py for future releases of Silva ?

Thanks for the help !
Reinhard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.