[Zope-dev] Re: many conflict errors

2007-05-29 Thread Laurence Rowe

Perry wrote:

Tres Seaver schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



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


Yes, but I am not sure, or better I don't know who is causing these errors.



I wrote up some stuff on finding the path of an object 
http://plone.org/documentation/how-to/debug-zodb-bloat/ and 
http://www.zopelabs.com/cookbook/1114086617


The scripts need to be updated for recent ZODBs (change one import I think).

Laurence

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: many conflict errors

2007-05-28 Thread Perry

Tres Seaver schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



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


Yes, but I am not sure, or better I don't know who is causing these errors.

--

Gruß Joachim

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: many conflict errors

2007-05-25 Thread Tres Seaver
-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  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://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-
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )