[Zope-dev] Re: many conflict errors

Tres Seaver tseaver at palladion.com
Fri May 25 13:54:39 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Perry wrote:
> Answering to myself:
> 
> we could get rid of the sessionrelated conflict errors, by removing all
> 
> session = context.REQUEST.SESSION
> 
> from our scripts. But we still have these conflict errors:
> 
> how can I find out, what causes these conflicts.
> 
> 2007-05-25T10:17:50 INFO ZPublisher.Conflict ConflictError at
> /VirtualHostBase/http/uniben.waeup.org:80/uniben/VirtualHostRoot/campus/students/U431409/study_course/create_level: 
> 
> database conflict error (oid 0x7905e6, class BTrees._IOBTree.IOBucket,
> serial this txn started with 0x036ddc2a44454dee 2007-05-25
> 09:14:16.000950, serial currently committed 0x036ddc2c21950377
> 2007-05-25 09:16:07.870801) (80 conflicts (10 unresolved) since startup
> at Fri May 25 05:19:08 2007)
> --
> 
> and finally:
> 
> ------
> 2007-05-25T10:19:01 ERROR Zope.SiteErrorLog
> http://uniben.waeup.org/campus/students/C172676/study_course/create_level
> Traceback (innermost last):
>    Module Zope2.App.startup, line 173, in zpublisher_exception_hook
>    Module ZPublisher.Publish, line 121, in publish
>    Module Zope2.App.startup, line 240, in commit
>    Module transaction._manager, line 96, in commit
>    Module Products.CPSCompat.PatchZODBTransaction, line 175, in commit
>    Module transaction._transaction, line 436, in _commitResources
>    Module ZODB.Connection, line 665, in tpc_vote
>    Module ZEO.ClientStorage, line 893, in tpc_vote
>    Module ZEO.ClientStorage, line 877, in _check_serials
> ConflictError: database conflict error (oid 0x7905e6, class
> BTrees._IOBTree.IOBucket, serial this txn started with
> 0x036ddc2b3e989fdd 2007-05-25 09:15:14.670982, serial currently
> committed 0x036ddc2dd48f4e33 2007-05-25 09:17:49.818700)

Neither of those tracebacks look like they come out of the 'faster'
session machinery itself;  it uses an 'OOBTree' by default for storing
the slices, not an 'IOBtree'.  The primary consumer of 'IOBTree' is
probably the catalog, where it is used to map RID -> values in the
'unindex' of 'FieldIndex', etc.  The original sessioning machinery uses
'IOBTree', too:  are you sure you are using the faster machnery?


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGVyLe+gerLs4ltQ4RAoGOAJ96Hl1UkY+mbeaik2uaNszWQgh4oACfcZe6
mDWlIPGApco0/yrlv1SxOYs=
=hejZ
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list