3

我们已经开始在旧的 Plone 站点(Zope 2.9.6 上的 2.5.5)中出现大量数据库冲突错误。过去 8 小时内超过 250 次。该网站也明显变慢了。

即使在提供静态资源时也会发生它们,所以我不明白写冲突是如何发生的。看:

2013-08-22T08:46:02 INFO ZPublisher.Conflict ConflictError at /VirtualHostBase/http/www.mysite.com:80/mysite/VirtualHostRoot/portal_javascripts/Plone Default/ploneScripts9172.js: database conflict error (oid 0x0238, class BTrees._OOBTree.OOBTree, serial this txn started with 0x03a0e11203373444 2013-08-22 07:46:00.753666, serial currently committed 0x03a0e11209244055 2013-08-22 07:46:02.142564) (35 conflicts (0 unresolved) since startup at Thu Aug 22 07:39:40 2013)
------
2013-08-22T08:46:22 INFO ZPublisher.Conflict ReadConflictError at /VirtualHostBase/http/www.mysite.com:80/mysite/VirtualHostRoot/favicon.ico: database read conflict error (oid 0x0239, class BTrees._OOBTree.OOBTree) (36 conflicts (0 unresolved) since startup at Thu Aug 22 07:39:40 2013)
------
2013-08-22T08:46:22 INFO ZPublisher.Conflict ConflictError at /VirtualHostBase/http/www.mysite.com:80/mysite/VirtualHostRoot/portal_css/Plone Default/ploneStyles1892.css: database conflict error (oid 0x0239, class BTrees._OOBTree.OOBTree, serial this txn started with 0x03a0e10b728d5655 2013-08-22 07:39:26.848148, serial currently committed 0x03a0e1125f2a1388 2013-08-22 07:46:22.304147) (37 conflicts (0 unresolved) since startup at Thu Aug 22 07:39:40 2013)

我能做些什么来解决或进一步诊断这个问题?

4

1 回答 1

0

如果某些原因导致写入您的数据库,它将在站点根目录的ZMI Undo选项卡上可见。

http://developer.plone.org/troubleshooting/transactions.html#how-to-debug-which-object-causes-conflicterrors

如果在Undo选项卡上看不到写入,则这是较低级别的 ZODB 问题。

于 2013-08-22T17:34:01.567 回答