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
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 Mark, I'm sorry, I don't know if the binary Python bundled Zope has PyMalloc compiled in or not as we use our own installation of Python. All I can say for sure is that we had alot of problems when python had the pymalloc code compiled in. On Tue, 2001-11-06 at 16:47, Mark Mitchell wrote:
--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
-- Tom Jenkins Development InfoStructure http://www.devis.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, our Zope has the same problem, he dies unexpectly with Error-Code 13. Can i use the pymalloc-hint for me... RedHat 6.2 Immunix and Zope 2.3.3 and python 1.5.2. And are there some docs or how-tos about the pymalloc-hint?????? Can you Christian send some details, i will look at it and compare with my results. thanks as Christian Scholz schrieb:
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
_______________________________________________ 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 )
From: "Andre Schubert" <andre.schubert@geyer.kabeljournal.de>
our Zope has the same problem, he dies unexpectly with Error-Code 13. Can i use the pymalloc-hint for me... RedHat 6.2 Immunix and Zope 2.3.3 and python 1.5.2.
the --without-pymalloc thing is only relevant to Python 2.1, IIRC, thus only if you use newr Zopes. A question: you that are experiencing these problems, are you using database adapters? if so, what adapters? How much do you make use of them?
And are there some docs or how-tos about the pymalloc-hint??????
the INSTALL doc in the Python src has some info. I got help from Steva A who pointed me in the right direction. /dario
Hi, I'am using DA's especially the ZPsycopgDA. We use our DB very much. We have change from ZPygres to ZPsycopg the last month, but the errors always occur. question: do have any other problems with Zope-DAs, i had one with DB-Authentication??? thanks as Dario Lopez-Kästen schrieb:
From: "Andre Schubert" <andre.schubert@geyer.kabeljournal.de>
our Zope has the same problem, he dies unexpectly with Error-Code 13. Can i use the pymalloc-hint for me... RedHat 6.2 Immunix and Zope 2.3.3 and python 1.5.2.
the --without-pymalloc thing is only relevant to Python 2.1, IIRC, thus only if you use newr Zopes.
A question: you that are experiencing these problems, are you using database adapters? if so, what adapters? How much do you make use of them?
And are there some docs or how-tos about the pymalloc-hint??????
the INSTALL doc in the Python src has some info. I got help from Steva A who pointed me in the right direction.
/dario
_______________________________________________ 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 )
Hi!
the --without-pymalloc thing is only relevant to Python 2.1, IIRC, thus only if you use newr Zopes.
Hm, so I also had it with 1.5.2 and this wouldn't have helped me then..
A question: you that are experiencing these problems, are you using database adapters? if so, what adapters? How much do you make use of them?
I used ZMySQLDa, but also without this with only a plain html page it crashed.. regards, Christian
Something in this just rang a very loud bell for me. RedHat 6.2 default installation has a kernel bug that relates to accessing files (and some other things) in certain ways. There is an upgrade (Made up of 4 RPMs) which fixes this and a number of other problems (I think) Sorry for being so vague... It was quite a while ago... Adrian... -- The clever combatant looks to the effect of combined energy, and does not require too much from individuals. Hence his ability to pick out the right men and utilize combined energy. - Sun Tzu ----- Original Message ----- From: "Andre Schubert" <andre.schubert@geyer.kabeljournal.de> To: "Christian Scholz" <cs@comlounge.net> Cc: <zope-dev@zope.org> Sent: Wednesday, November 07, 2001 7:43 AM Subject: Re: [Zope-dev] Zope crash in select_trigger
Hi,
our Zope has the same problem, he dies unexpectly with Error-Code 13. Can i use the pymalloc-hint for me... RedHat 6.2 Immunix and Zope 2.3.3 and python 1.5.2. And are there some docs or how-tos about the pymalloc-hint?????? Can you Christian send some details, i will look at it and compare with my results.
thanks as
Christian Scholz schrieb:
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
_______________________________________________ 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-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 )
participants (7)
-
Adrian Hungate -
Andre Schubert -
Chris McDonough -
cs@comlounge.net -
Dario Lopez-Kästen -
Mark Mitchell -
Tom Jenkins