Upgrade (to 0.9.3) hangs

Clemens Robbenhaar <robbenhaar-WaVJUzJ3u31Wk0Htik3J/[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Dear Benno,

 [...]
 > I try to upgrade a site from Silva 0.9.1 to Silva 1.0. All goes well in the
 > first step which calls the Silva upgrade092.py. Then the next upgrade step
 > starts calling the Silva script upgrade093.py. Suddenly the upgrade stops
 > without any error message.
 > The last message printed out was:
 > Upgrading object http://foo/silva_ethz/ETH/imprint (still 130 objects to go)
 > Setting title to: u'Impressum'
 [...]

 This looks like a hang due to some resource exhaustion or lock ...

 A wild guess: maybe because the transaction holds more objects in
memory than some ZODB cache size allows this hangs the process.

 You could try to increase the ZODB cache size (via the ZMI Control Panel >
Database Mamagement > Cache Parameters) before the upgrade, or lower the
"subtransaction threshold" (thats a constant in the Silva/upgrade.py,
near the top of the file around line 10: "threshold = 500").


 Don't know if that helps. If it doesn't, at least is seems not to be
the ZODB cache ;-/

Hope it helps anyway,
Clemens
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.