[silva-dev] Upgrade (to 0.9.3) hangs
reinhard.hess at id.ethz.ch
Wed Jul 28 18:37:28 CEST 2004
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?
>>You may want to start
>>uncommenting print statements in the upgradeTree method in
>>see where exactly the hang occurs.
> Good idea for then next time ;-)
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 !
More information about the silva-dev