Over the past few days, our Zope server has started crashing repeatedly, but unpredictably, with: Traceback (most recent call last): File "/usr/local/Zope/ZServer/PubCore/ZServerPublisher.py", line 97, in __init__ response._finish() File "/usr/local/Zope/ZServer/HTTPResponse.py", line 277, in _finish stdout.close() File "/usr/local/Zope/ZServer/HTTPResponse.py", line 334, in close Wakeup() File "/usr/local/Zope/ZServer/medusa/thread/select_trigger.py", line 74, in pull_trigger os.write (self.trigger, 'x') OSError: [Errno 32] Broken pipe I see some other similar reports in the archives, but no fixes. Does anybody have ideas about what is causing this problem? -- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com
Hi mark, Which OS, and which Zope version? I dont have an answer at all right now, but I'd like to start collecting info. If anybody else has this problem, can they also provide platform and Zope version? ----- Original Message ----- From: "Mark Mitchell" <mark@codesourcery.com> To: <zope-dev@zope.org>; <zope@zope.org> Cc: <mark@codesourcery.com> Sent: Tuesday, November 06, 2001 2:33 PM Subject: [Zope-dev] Zope crash in select_trigger
Over the past few days, our Zope server has started crashing
repeatedly,
but unpredictably, with:
Traceback (most recent call last): File "/usr/local/Zope/ZServer/PubCore/ZServerPublisher.py", line 97, in __init__ response._finish() File "/usr/local/Zope/ZServer/HTTPResponse.py", line 277, in _finish stdout.close() File "/usr/local/Zope/ZServer/HTTPResponse.py", line 334, in close Wakeup() File "/usr/local/Zope/ZServer/medusa/thread/select_trigger.py", line 74, in pull_trigger os.write (self.trigger, 'x') OSError: [Errno 32] Broken pipe
I see some other similar reports in the archives, but no fixes. Does anybody have ideas about what is causing this problem?
-- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
--On Tuesday, November 06, 2001 02:58:11 PM -0500 Chris McDonough <chrism@zope.com> wrote:
Hi mark,
Which OS, and which Zope version? I dont have an answer at all right now, but I'd like to start collecting info. If anybody else has this problem, can they also provide platform and Zope version?
From the control panel:
Zope version: (Zope 2.4.2 (binary release, python 2.1, linux2-x86), python 2.1.0, linux2) Python version: 2.1 (#2, Jun 22 2001, 10:20:42) [GCC 2.7.2.3] System Platform: linux2 The system is SuSE Linux 6.4 with their most recent kernel patch, i.e, the 2.2.19 kernel. -- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com
Mark, Try recompiling python2.1 with the --without-pymalloc flag. we had terrible problems in zope when using default python binaries. On Tue, 2001-11-06 at 15:00, Mark Mitchell wrote:
--On Tuesday, November 06, 2001 02:58:11 PM -0500 Chris McDonough <chrism@zope.com> wrote:
Hi mark,
Which OS, and which Zope version? I dont have an answer at all right now, but I'd like to start collecting info. If anybody else has this problem, can they also provide platform and Zope version?
From the control panel:
Zope version: (Zope 2.4.2 (binary release, python 2.1, linux2-x86), python 2.1.0, linux2) Python version: 2.1 (#2, Jun 22 2001, 10:20:42) [GCC 2.7.2.3] System Platform: linux2
The system is SuSE Linux 6.4 with their most recent kernel patch, i.e, the 2.2.19 kernel.
-- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
-- Tom Jenkins Development InfoStructure http://www.devis.com
--On Tuesday, November 06, 2001 04:14:28 PM -0500 Tom Jenkins <tjenkins@devis.com> wrote:
Mark, Try recompiling python2.1 with the --without-pymalloc flag. we had terrible problems in zope when using default python binaries.
Interesting hint. But here, aren't I using precompiled binaries from Zope? I downloaded the Zope binary release, which seemed to come with its own binary Python. Or are you suggesting that the binary Python packaged with Zope is broken? Thanks very much, -- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com
Hi! I once had similar problems and as far as I remember also with SuSE 6.4. I think it stopped when using SuSE 7.1 (and 7.0 had the problems, too I think). I was using python 1.5.2 and various Zope versions.. so maybe the pymalloc hint would have worked for me then, too. Actually the crashes were some sort of non deterministic and did not depend on load etc. Unfortunately I don't know any details anymore.. I might test this again sometime and give you a note. (maybe there also some old mails from me in the archive explaining some more details but as I am on a text terminal right now I haven't looked..) greetings! Christian On Tue, Nov 06, 2001 at 12:00:40PM -0800, Mark Mitchell wrote:
--On Tuesday, November 06, 2001 02:58:11 PM -0500 Chris McDonough <chrism@zope.com> wrote:
Hi mark,
Which OS, and which Zope version? I dont have an answer at all right now, but I'd like to start collecting info. If anybody else has this problem, can they also provide platform and Zope version?
From the control panel:
Zope version: (Zope 2.4.2 (binary release, python 2.1, linux2-x86), python 2.1.0, linux2) Python version: 2.1 (#2, Jun 22 2001, 10:20:42) [GCC 2.7.2.3] System Platform: linux2
The system is SuSE Linux 6.4 with their most recent kernel patch, i.e, the 2.2.19 kernel.
-- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
-- COM.lounge http://comlounge.net/ communication & design info@comlounge.net
Hi Chis, Mark, I am having the same problem (almost, Freeze), zope is crashing or freezing and I have some informations: 1 - If I use two browsers (netscape 6.1) on the same time on the same client machine then Zope crash, if only one browser is in use then no crash. 2 - I am using python 2.1.1 compiled with flag --wthout-pymalloc, dont solving the problem. 3 - I am using RedHat 7.2, Zope 2.4.2, Python 2.1.1 4 - If I use Netscape(6.1) and MS Explorer(5.0) on the same time and machine no crash at all. 5 - Zope crash without any error message. 6 - I am using only Zope on port 8080, No apache or others servers. Thanks Pierre. ----- Original Message ----- From: "Chris McDonough" <chrism@zope.com> To: "Mark Mitchell" <mark@codesourcery.com>; <zope-dev@zope.org>; <zope@zope.org> Cc: <mark@codesourcery.com> Sent: Tuesday, November 06, 2001 4:58 PM Subject: [Zope] Re: [Zope-dev] Zope crash in select_trigger
Hi mark,
Which OS, and which Zope version? I dont have an answer at all right now, but I'd like to start collecting info. If anybody else has this problem, can they also provide platform and Zope version?
----- Original Message ----- From: "Mark Mitchell" <mark@codesourcery.com> To: <zope-dev@zope.org>; <zope@zope.org> Cc: <mark@codesourcery.com> Sent: Tuesday, November 06, 2001 2:33 PM Subject: [Zope-dev] Zope crash in select_trigger
Over the past few days, our Zope server has started crashing
repeatedly,
but unpredictably, with:
Traceback (most recent call last): File "/usr/local/Zope/ZServer/PubCore/ZServerPublisher.py", line 97, in __init__ response._finish() File "/usr/local/Zope/ZServer/HTTPResponse.py", line 277, in _finish stdout.close() File "/usr/local/Zope/ZServer/HTTPResponse.py", line 334, in close Wakeup() File "/usr/local/Zope/ZServer/medusa/thread/select_trigger.py", line 74, in pull_trigger os.write (self.trigger, 'x') OSError: [Errno 32] Broken pipe
I see some other similar reports in the archives, but no fixes. Does anybody have ideas about what is causing this problem?
-- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Jean Pierre, If you don't see crashes in line 74 of select_trigger.py, this is likely a different problem. In which case I suggest trying to narrow the problem down further by turning on "big M" debug logging and using the requestprofiler.py script in the utilities directory to analyze the logfile during a series of crashes to see if you can determine a pattern to them. - C Jean Pierre Litsas wrote:
Hi Chis, Mark,
I am having the same problem (almost, Freeze), zope is crashing or freezing and I have some informations:
1 - If I use two browsers (netscape 6.1) on the same time on the same client machine then Zope crash, if only one browser is in use then no crash.
2 - I am using python 2.1.1 compiled with flag --wthout-pymalloc, dont solving the problem.
3 - I am using RedHat 7.2, Zope 2.4.2, Python 2.1.1
4 - If I use Netscape(6.1) and MS Explorer(5.0) on the same time and machine no crash at all.
5 - Zope crash without any error message.
6 - I am using only Zope on port 8080, No apache or others servers.
Thanks Pierre.
----- Original Message ----- From: "Chris McDonough" <chrism@zope.com> To: "Mark Mitchell" <mark@codesourcery.com>; <zope-dev@zope.org>; <zope@zope.org> Cc: <mark@codesourcery.com> Sent: Tuesday, November 06, 2001 4:58 PM Subject: [Zope] Re: [Zope-dev] Zope crash in select_trigger
Hi mark,
Which OS, and which Zope version? I dont have an answer at all right now, but I'd like to start collecting info. If anybody else has this problem, can they also provide platform and Zope version?
----- Original Message ----- From: "Mark Mitchell" <mark@codesourcery.com> To: <zope-dev@zope.org>; <zope@zope.org> Cc: <mark@codesourcery.com> Sent: Tuesday, November 06, 2001 2:33 PM Subject: [Zope-dev] Zope crash in select_trigger
Over the past few days, our Zope server has started crashing
repeatedly,
but unpredictably, with:
Traceback (most recent call last): File "/usr/local/Zope/ZServer/PubCore/ZServerPublisher.py", line
97,
in __init__ response._finish() File "/usr/local/Zope/ZServer/HTTPResponse.py", line 277, in
_finish
stdout.close() File "/usr/local/Zope/ZServer/HTTPResponse.py", line 334, in close Wakeup() File "/usr/local/Zope/ZServer/medusa/thread/select_trigger.py",
line
74, in pull_trigger os.write (self.trigger, 'x') OSError: [Errno 32] Broken pipe
I see some other similar reports in the archives, but no fixes.
Does
anybody have ideas about what is causing this problem?
-- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Chris McDonough Zope Corporation http://www.zope.org http://www.zope.com "Killing hundreds of birds with thousands of stones"
Jean Pierre Litsas wrote:
Hi Chis, Mark,
I am having the same problem (almost, Freeze), zope is crashing or freezing and I have some informations:
1 - If I use two browsers (netscape 6.1) on the same time on the same client machine then Zope crash, if only one browser is in use then no crash.
2 - I am using python 2.1.1 compiled with flag --wthout-pymalloc, dont solving the problem.
3 - I am using RedHat 7.2, Zope 2.4.2, Python 2.1.1
4 - If I use Netscape(6.1) and MS Explorer(5.0) on the same time and machine no crash at all.
5 - Zope crash without any error message.
6 - I am using only Zope on port 8080, No apache or others servers.
Sorry, I may be false, but are you really sure that zope is hanging, not your client OS doing silly things? In another thread ("threading, dtml and performance?!", see archives) I made the exact same observation and figured out that anyhow windows nt seems to restrict connections per process(?). See http://lists.zope.org/pipermail/zope/2001-October/102884.html for a longer description what I observed, it sounds almost exactly the same. cheers, oliver
participants (7)
-
Chris McDonough -
Chris McDonough -
cs@comlounge.net -
Jean Pierre Litsas -
Mark Mitchell -
Oliver Bleutgen -
Tom Jenkins