Zope 2.4.4b1 and Python 2.1.2 crash again
Hi, With zope 2.4.4b1 and python 2.1.2 my system auto-restart (crash) running python script again.. It's the Restricted Python problem resolved? Thanks Stefano ---------------------------------------------------------- Stefano Noferi n o z e S.r.l. Soluzioni Open-Source Via Caduti del Lavoro, 32 56122 Pisa (PI) - Italy Tel: +39 (0)50 533320 Fax: +39 (0)50 526604 Email: stefano@noze.it Web: http://www.noze.it ----------------------------------------------------------
With zope 2.4.4b1 and python 2.1.2 my system auto-restart (crash) running python script again.. It's the Restricted Python problem resolved?
Stefano, you should read the Stability Howto: http://www.zope.org/Members/matt/StabilityHOWTO It summarizes the situation with regard to the recent crash problems. -- "I was wondering if there's any kind of definitive nickname for Perl programmers, the way we call ourselves Pythonistas?" - Aahz Maruch "Masochists." - Daniel Klein Nicola Larosa - nico@tekNico.net
On Tue, Mar 05, 2002 at 04:49:47PM +0100, Stefano Noferi wrote:
Hi,
With zope 2.4.4b1 and python 2.1.2 my system auto-restart (crash) running python script again.. It's the Restricted Python problem resolved?
I also still experience instabilities with 2.4.4b1/2.1.2. No coredumps, no traces in stupid.log or detail.log - I'm quite lost here.. Matt's crash howto doesn't help either. Ivo -- Drs. I.R. van der Wijk -=- Brouwersgracht 132 Amaze Internet Services V.O.F. 1013 HA Amsterdam, NL -=- Tel: +31-20-4688336 Linux/Web/Zope/SQL/MMBase Fax: +31-20-4688337 Network Solutions Web: http://www.amaze.nl/ Consultancy Email: ivo@amaze.nl -=-
On Fri, Mar 08, 2002 at 01:28:39PM +0100, Ivo van der Wijk wrote:
On Tue, Mar 05, 2002 at 04:49:47PM +0100, Stefano Noferi wrote:
Hi,
With zope 2.4.4b1 and python 2.1.2 my system auto-restart (crash) running python script again.. It's the Restricted Python problem resolved?
I also still experience instabilities with 2.4.4b1/2.1.2. No coredumps, no traces in stupid.log or detail.log - I'm quite lost here..
Matt's crash howto doesn't help either.
Also, I did recompile my pythonscripts (using the external method below), this does NOT solve the problem! def recompile_ps(self): metatype='Script (Python)' for name,script in self.ZopeFind(self, search_sub=1, obj_metatypes=[metatype]): print "recompiling",name try: script.ZPythonScript_edit( script._params, script._body ) except: pass return "OK" (this code is not mine btw :) Ivo -- Drs. I.R. van der Wijk -=- Brouwersgracht 132 Amaze Internet Services V.O.F. 1013 HA Amsterdam, NL -=- Tel: +31-20-4688336 Linux/Web/Zope/SQL/MMBase Fax: +31-20-4688337 Network Solutions Web: http://www.amaze.nl/ Consultancy Email: ivo@amaze.nl -=-
Hi Ivo, If you run across any situation in which you can make the problem reliably happen, it would be extremely helpful. Ivo van der Wijk wrote:
On Fri, Mar 08, 2002 at 01:28:39PM +0100, Ivo van der Wijk wrote:
On Tue, Mar 05, 2002 at 04:49:47PM +0100, Stefano Noferi wrote:
Hi,
With zope 2.4.4b1 and python 2.1.2 my system auto-restart (crash) running python script again.. It's the Restricted Python problem resolved?
I also still experience instabilities with 2.4.4b1/2.1.2. No coredumps, no traces in stupid.log or detail.log - I'm quite lost here..
Matt's crash howto doesn't help either.
Also, I did recompile my pythonscripts (using the external method below), this does NOT solve the problem!
def recompile_ps(self): metatype='Script (Python)' for name,script in self.ZopeFind(self, search_sub=1, obj_metatypes=[metatype]): print "recompiling",name try: script.ZPythonScript_edit( script._params, script._body ) except: pass return "OK"
(this code is not mine btw :)
Ivo
-- Chris McDonough Zope Corporation http://www.zope.org http://www.zope.com "Killing hundreds of birds with thousands of stones"
Ivo van der Wijk wrote:
On Tue, Mar 05, 2002 at 04:49:47PM +0100, Stefano Noferi wrote:
Hi,
With zope 2.4.4b1 and python 2.1.2 my system auto-restart (crash) running python script again.. It's the Restricted Python problem resolved?
I also still experience instabilities with 2.4.4b1/2.1.2. No coredumps, no traces in stupid.log or detail.log - I'm quite lost here..
Matt's crash howto doesn't help either.
Ivo
For what its worth, I'll be on IRC today to assist with diagnosis if you have the opportunity to join irc.openprojects.net #zope. -- Matt Kromer Zope Corporation http://www.zope.com/
Ivo van der Wijk writes:
On Tue, Mar 05, 2002 at 04:49:47PM +0100, Stefano Noferi wrote:
With zope 2.4.4b1 and python 2.1.2 my system auto-restart (crash) running python script again.. It's the Restricted Python problem resolved? We run regular "wget" against a Zope page and when we do not get a speedy response, we restart Zope. This happens every few days.
Not nice, but up to now, it is acceptable. Dieter
hm... i am now suffering from core dumps every 2-30 minutes... anyone has gotten any further with tracking these down? /dario - -------------------------------------------------------------------- Dario Lopez-Kästen Systems Developer Chalmers Univ. of Technology dario@ita.chalmers.se ICQ will yield no hits IT Systems & Services
what happens when you run single threaded? what happens when you do import.gc gc.disable() in z2.py? On Tuesday, March 12, 2002, at 08:18 AM, Dario Lopez-Kästen wrote:
hm... i am now suffering from core dumps every 2-30 minutes...
anyone has gotten any further with tracking these down?
/dario
- -------------------------------------------------------------------- Dario Lopez-Kästen Systems Developer Chalmers Univ. of Technology dario@ita.chalmers.se ICQ will yield no hits IT Systems & Services
_______________________________________________ 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)
-
Chris McDonough -
Dario Lopez-Kästen -
Dieter Maurer -
Ivo van der Wijk -
Matthew T. Kromer -
Nicola Larosa -
Stefano Noferi