Re: [Zope-dev] Zope 2.4.4b1 and Python 2.1.2 crash again

2002-03-12 Thread Dario Lopez-Kästen

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
[EMAIL PROTECTED]  ICQ will yield no hitsIT Systems  Services



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] Zope 2.4.4b1 and Python 2.1.2 crash again

2002-03-12 Thread Matthew T. Kromer

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
 [EMAIL PROTECTED]  ICQ will yield no hitsIT Systems  Services



 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 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  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] Zope 2.4.4b1 and Python 2.1.2 crash again

2002-03-08 Thread Ivo van der Wijk

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:   [EMAIL PROTECTED]   -=-

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] Zope 2.4.4b1 and Python 2.1.2 crash again

2002-03-08 Thread Ivo van der Wijk

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:   [EMAIL PROTECTED]   -=-

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] Zope 2.4.4b1 and Python 2.1.2 crash again

2002-03-08 Thread Chris McDonough

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 McDonoughZope Corporation
http://www.zope.org http://www.zope.com
Killing hundreds of birds with thousands of stones


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] Zope 2.4.4b1 and Python 2.1.2 crash again

2002-03-08 Thread Matthew T. Kromer

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/ 




___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] Zope 2.4.4b1 and Python 2.1.2 crash again

2002-03-08 Thread Dieter Maurer

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

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] Zope 2.4.4b1 and Python 2.1.2 crash again

2002-03-05 Thread Nicola Larosa

 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 - [EMAIL PROTECTED]


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] Zope 2.4.4b1 and Python 2.1.2 crash again

2002-03-05 Thread Anthony Baxter


 Nicola Larosa wrote
 you should read the Stability Howto:
 
 http://www.zope.org/Members/matt/StabilityHOWTO

This docco doesn't clearly state that you MUST recompile your
pythonscripts when upgrading to 2.4.4+ (when do we see a real
2.4.4, anyway?)

Anthony

-- 
Anthony Baxter [EMAIL PROTECTED]   
It's never to late to have a happy childhood.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )



Re: [Zope-dev] Zope 2.4.4b1 and Python 2.1.2 crash again

2002-03-05 Thread Leonardo Rochael Almeida

On Tue, 2002-03-05 at 20:55, Anthony Baxter wrote:
 
  http://www.zope.org/Members/matt/StabilityHOWTO
 
 This docco doesn't clearly state that you MUST recompile your
 pythonscripts when upgrading to 2.4.4+ (when do we see a real
 2.4.4, anyway?)

I'm not sure about that. PythonScripts that need recompilation recompile
themselves to memory at __setstate__ (albeit in a non persistent way,
that's why you see a 'needs recompilation' log for them) So I don't see
how recompiling the PythonScripts helps stability.

The best you get from recompiling them is speed, a lower memory
consumption and relief from those nagging 'needs recompilation' log
messages.

Speaking of stability...

-- 
Ideas don't stay in some minds very long because they don't like
solitary confinement.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )