[Zope-dev] many conflict errors

Perry js at aixtraware.de
Fri May 25 07:16:02 EDT 2007


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)
------

Joachim Schmitz schrieb:
> Hi,
> 
> in our Studentregistration portal we experience many conflict errors 
> under heavy load many of them unresolved.
> 
> the configuration
> 
> ZEO-server running on one machine
> 4 Zope-Clients with CPS-3.4.2 with 4 threads each running on a second 
> box, we are using the faster session product
> 
> all running Zope 2.9.3, python 2.4.3 on Ubuntu 4.0.3
> 
> 
> a typical case looks like this:


-- 
Gruß Joachim


More information about the Zope-Dev mailing list