Conflict Errors; how to track them down?
Hi all, Except for SARS, another problem that's been plagueing us for months are seemingly random Conflict Errors. We see about 10 every day on our Zope 2.6.1, and they can happen on any page. In most cases they are not related to pages that actually updated anything (AFAIK), although we do use SESSIONS (but no frames). Any clue how to track down which objects are having problems, what's causing this? ------ 2003-06-03T09:08:10 INFO(0) ZODB conflict error at /VirtualHostBase/http/www.beijingsammies.com:80/sammies/VirtualHostRoot/ (7 conflicts since startup at 2003-06-02T13:15:05) ------ I volounteer to write up a HOWTO document regarding this and the "Bad reference to" errors we're also getting (see previous post) if I can just find out what's wrong. Regards, -- Bjorn
On 06/02/2003 11:08 PM, Bjorn Stabell wrote:
Hi all,
Except for SARS, another problem that's been plagueing us for months are seemingly random Conflict Errors. We see about 10 every day on our Zope 2.6.1, and they can happen on any page. In most cases they are not related to pages that actually updated anything (AFAIK), although we do use SESSIONS (but no frames). Any clue how to track down which objects are having problems, what's causing this?
Look at your undo log. If the conflicts don't correspond with entries in the undo log, and you're not mounting other databases, the conflicts are almost certainly due to sessions. However, conflicts are a normal occurrence and rarely reach the user. Zope automatically retries the request and delivers the successful page. Shane
Bjorn Stabell wrote at 2003-6-3 11:08 +0800:
Except for SARS, another problem that's been plagueing us for months are seemingly random Conflict Errors. We see about 10 every day on our Zope 2.6.1, and they can happen on any page. In most cases they are not related to pages that actually updated anything (AFAIK), although we do use SESSIONS (but no frames). Any clue how to track down which objects are having problems, what's causing this?
------ 2003-06-03T09:08:10 INFO(0) ZODB conflict error at /VirtualHostBase/http/www.beijingsammies.com:80/sammies/VirtualHostRoot/ (7 conflicts since startup at 2003-06-02T13:15:05)
The log message for conflict errors is far less instructive than it could be (almost without any effort). It should indicate whether it is a ReadConflictError or a (Write)ConflictError. It should tell which object caused the conflict. The attached patch to "Zope/App/startup.py" provides this additional information. Please file a feature request to "<http://collector.zope.org/Zope>". Dieter
Chris Withers wrote:
Dieter Maurer wrote:
The attached patch to "Zope/App/startup.py" provides this additional information.
Where's the patch?
http://marc.theaimsgroup.com/?l=zope-dev&m=105466926610469&q=p3 -- Jamie Heilman http://audible.transient.net/~jamie/ "I was in love once -- a Sinclair ZX-81. People said, "No, Holly, she's not for you." She was cheap, she was stupid and she wouldn't load -- well, not for me, anyway." -Holly
participants (5)
-
Bjorn Stabell -
Chris Withers -
Dieter Maurer -
Jamie Heilman -
Shane Hathaway