[Zope3-Users] ZODB database conflict error

Andreas Jung lists at zopyx.com
Tue Jun 24 03:50:46 EDT 2008



--On 24. Juni 2008 09:46:23 +0200 Gregor Giesen <grgi at fa.uni-tuebingen.de> 
wrote:

> Hi,
>
> under heavy load of my zope application I got the following error:
>
>   WARNING ZopePublication Competing writes/reads at ... database
> conflict error (oid 0x03a272, class BTrees.OIBTree.OIBucket, serial this
> txn started with 0x0376b0db577575cc 2008-06-24 06:51:20.498163, serial
> currently committed 0x0376b0dc374f1244 2008-06-24 06:52:12.963017)
>
> This is due to many reads and writes (adding objects) to a BTreeFolder.
> So my questions are:
> 1. How can I increase the number of retries to resolve the conflict?
> 2. I think this might be a design problem of my application; should I
> use another backend for storing such data (sql, etc.)?


How about application specific conflict resolution (_p_resolveConflict() 
hook)? How about using a nested folder structure in order to reduce the 
number of conflicts?

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20080624/ae8a68cc/attachment.bin


More information about the Zope3-users mailing list