gpt4 book ai didi

plone - 修复旧Plone 2.5.5大量数据库冲突错误

转载 作者:行者123 更新时间:2023-12-02 04:59:17 25 4
gpt4 key购买 nike

我们已经开始在旧的 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)

我该怎么做才能解决或进一步诊断这个问题?

最佳答案

如果有什么东西导致写入您的数据库,它将在您站点根目录的 ZMI 撤消 选项卡上可见。

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

如果写入在撤消 选项卡上不可见,则这是较低级别的 ZODB 问题。

关于plone - 修复旧Plone 2.5.5大量数据库冲突错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18373893/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com