Hello, yes I have read the Zope book about SESSIONs and the conflict errors. But the book says it should almost never happen, it happens constantly at my site (~10 users). I use Zope sessions. Any suggestions? I have sold in Zope to my boss, so my and Zopes reputation is on the line. Please help!!! TIA Ulrich -- Ulrich Wisser RELEVANT TRAFFIC SWEDEN AB, Riddarg 17A, SE-114 57 Sthlm, Sweden Direct (+46)86789755 || Cell (+46)704467893 || Fax (+46)86789769 ________________________________________________________________ http://www.relevanttraffic.com
On Nov 9, 2004, at 13:43, Ulrich Wisser wrote:
Hello,
yes I have read the Zope book about SESSIONs and the conflict errors. But the book says it should almost never happen, it happens constantly at my site (~10 users). I use Zope sessions.
Any suggestions?
I have sold in Zope to my boss, so my and Zopes reputation is on the line. Please help!!!
There are different kinds of Conflict Errors. Write conflicts should not happen. Read conflicts can happen. Seeing conflict errors in the logs does not necessarily mean a problem. They are very common with catalog-driven sites. jens
Jens Vagelpohl wrote:
On Nov 9, 2004, at 13:43, Ulrich Wisser wrote:
Hello,
yes I have read the Zope book about SESSIONs and the conflict errors. But the book says it should almost never happen, it happens constantly at my site (~10 users). I use Zope sessions.
Any suggestions?
I have sold in Zope to my boss, so my and Zopes reputation is on the line. Please help!!!
There are different kinds of Conflict Errors. Write conflicts should not happen. Read conflicts can happen. Seeing conflict errors in the logs does not necessarily mean a problem. They are very common with catalog-driven sites.
No zcatalogs, and my users get the error messages as html pages. Ulrich
--On Dienstag, 9. November 2004 13:43 Uhr +0100 Ulrich Wisser <ulrich.wisser@relevanttraffic.se> wrote:
Hello,
yes I have read the Zope book about SESSIONs and the conflict errors. But the book says it should almost never happen, it happens constantly at my site (~10 users). I use Zope sessions.
Which Zope version are talking about? -aj
Andreas Jung wrote:
--On Dienstag, 9. November 2004 13:43 Uhr +0100 Ulrich Wisser <ulrich.wisser@relevanttraffic.se> wrote:
Hello,
yes I have read the Zope book about SESSIONs and the conflict errors. But the book says it should almost never happen, it happens constantly at my site (~10 users). I use Zope sessions.
Which Zope version are talking about?
Zope 2.6.1 (binary release, python 2.1, linux2-x86), python 2.1.3, linux2) On RH9 Ulrich -- Ulrich Wisser RELEVANT TRAFFIC SWEDEN AB, Riddarg 17A, SE-114 57 Sthlm, Sweden Direct (+46)86789755 || Cell (+46)704467893 || Fax (+46)86789769 ________________________________________________________________ http://www.relevanttraffic.com
On Nov 9, 2004, at 13:55, Ulrich Wisser wrote:
Zope 2.6.1 (binary release, python 2.1, linux2-x86), python 2.1.3, linux2)
I'd like to note that especially the sessioning machinery has seen massive improvements since 2.6.1. You should upgrade, preferably to 2.7.3. jens
What version of Zope are you using? The session mechanism has been much improved in 2.7.X. bTW, conflict errors are indicators of a conflict *not* a real error. Zope serializes the access and continues. On Tue, 9 Nov 2004, Ulrich Wisser wrote:
Hello,
yes I have read the Zope book about SESSIONs and the conflict errors. But the book says it should almost never happen, it happens constantly at my site (~10 users). I use Zope sessions.
Any suggestions?
I have sold in Zope to my boss, so my and Zopes reputation is on the line. Please help!!!
TIA
Ulrich
-- Ulrich Wisser
RELEVANT TRAFFIC SWEDEN AB, Riddarg 17A, SE-114 57 Sthlm, Sweden Direct (+46)86789755 || Cell (+46)704467893 || Fax (+46)86789769 ________________________________________________________________ http://www.relevanttraffic.com _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Dennis Allison wrote:
What version of Zope are you using? The session mechanism has been much improved in 2.7.X.
I will upgrade ASAP!
bTW, conflict errors are indicators of a conflict *not* a real error. Zope serializes the access and continues.
Zope servers pages with lenghty technical error messages. You don't suggest I tell my boss and our customers that they don't see actual errors, do you? Ulrich
There are a number of places where conflict errors can occur. They can occur in the ZODB or they can occur in the temporary storage used for session variable. Only some conflicts raise exceptions and get reported out as errors to your users. If they persist after upgrades you might look carefully at why they occur and modify your system accordingly. On Wed, 10 Nov 2004, Ulrich Wisser wrote:
Dennis Allison wrote:
What version of Zope are you using? The session mechanism has been much improved in 2.7.X.
I will upgrade ASAP!
bTW, conflict errors are indicators of a conflict *not* a real error. Zope serializes the access and continues.
Zope servers pages with lenghty technical error messages. You don't suggest I tell my boss and our customers that they don't see actual errors, do you?
Ulrich _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
On Nov 10, 2004, at 8:38, Dennis Allison wrote:
There are a number of places where conflict errors can occur. They can occur in the ZODB or they can occur in the temporary storage used for session variable. Only some conflicts raise exceptions and get reported out as errors to your users. If they persist after upgrades you might look carefully at why they occur and modify your system accordingly.
In general it is not hard at all to write code in Zope that produces "hot spots" that attract conflict errors, especially with catalog-driven sites. Developers need to keep their eyes open for code that e.g. unnecessarily changes objects or unnecessarily loads objects. It's all easy to do in Python, but if the ease leads to sloppy code it all comes crashing down. jens
Jens Vagelpohl wrote at 2004-11-10 09:15 +0100:
... In general it is not hard at all to write code in Zope that produces "hot spots" that attract conflict errors, especially with catalog-driven sites. Developers need to keep their eyes open for code that e.g. unnecessarily changes objects or unnecessarily loads objects. It's all easy to do in Python, but if the ease leads to sloppy code it all comes crashing down.
A frame based design where several frames use sessions is especially prone to session related conflicts... -- Dieter
participants (5)
-
Andreas Jung -
Dennis Allison -
Dieter Maurer -
Jens Vagelpohl -
Ulrich Wisser