Re: [Zope] debugging memory exhaustion

2007-08-14 Thread Dieter Maurer
Chris Withers wrote at 2007-8-14 08:22 +0100: >Dieter Maurer wrote: >> Then, you use the "ZServer.medusa.monitor_client[_win32]" >> to connect to your monitor server. > >Where/what is this? You do not understand Python's package notation? Unbelievable... Think about it, you will get it ;-) >

Re: [Zope] debugging memory exhaustion

2007-08-14 Thread Chris Withers
Dieter Maurer wrote: Then, you use the "ZServer.medusa.monitor_client[_win32]" to connect to your monitor server. Where/what is this? You will be asked for authentication and use the emercency user and its password. After successful authentication, you have a Python interpreter pro

Re: [Zope] debugging memory exhaustion

2007-08-13 Thread Dieter Maurer
Chris Withers wrote at 2007-8-13 10:02 +0100: > ... >> It is used for the "Extreme cache detail" ZMI page >> but can also be used differently (e.g. from an "External Methode" >> or via the "ZServer Monitor Server" interactively). > >I've never known how to use the monitor server. Are there examples

Re: [Zope] debugging memory exhaustion

2007-08-13 Thread Chris Withers
Dieter Maurer wrote: "ZODB.DB.DB" provides methods for detailed analysis of the cached objects. Cool, I'll bear that in mind... It is used for the "Extreme cache detail" ZMI page but can also be used differently (e.g. from an "External Methode" or via the "ZServer Monitor Server" interactivel

Re: [Zope] debugging memory exhaustion

2007-08-10 Thread Dieter Maurer
Chris Withers wrote at 2007-8-9 17:09 +0100: > ... >I'm suffering with an app server that keeps blowing through all its memory. > >I have a suspicion this is due to a dodgy python script or page template >pulling too many objects into memory. However, by the time I know to >look, the app server t

Re: [Zope] debugging memory exhaustion

2007-08-10 Thread Chris Withers
Jonathan wrote: No, Zope does little if anything to control the amount of memory it uses. If it did, we wouldn't see MemoryErrors ;-) By "Zope" i meant the process running zope (i agree that Zope does not track process memory utilization!). Answering a question I haven't asked isn't helpfu

Re: [Zope] debugging memory exhaustion

2007-08-09 Thread Jonathan
- Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: "zope list user" Sent: Thursday, August 09, 2007 5:47 PM Subject: Re: [Zope] debugging memory exhaustion Jonathan wrote: "Of cours

Re: [Zope] debugging memory exhaustion

2007-08-09 Thread Chris Withers
Jonathan wrote: "Of course, it'd be lovely if you could actually specify an upper memory bound for a particular request to use, and/or Zope as a whole" If your server is still alive and Zope is throwing memory errors, then Zope has hit its specified upper memory limit. No, Zope does little i

Re: [Zope] debugging memory exhaustion

2007-08-09 Thread Jonathan
- Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: "zope list user" Sent: Thursday, August 09, 2007 1:24 PM Subject: Re: [Zope] debugging memory exhaustion Jonathan wrote: Of course, it

Re: [Zope] debugging memory exhaustion

2007-08-09 Thread Chris Withers
Jonathan wrote: Of course, it'd be lovely if you could actually specify an upper memory bound for a particular request to use, and/or Zope as a whole, but these kinds of things always seem to stall at the development stage :-( If you're running on a linux machine you could look into the uli

Re: [Zope] debugging memory exhaustion

2007-08-09 Thread Jonathan
- Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "zope list user" Sent: Thursday, August 09, 2007 12:09 PM Subject: [Zope] debugging memory exhaustion Hi All, I'm suffering with an app server that keeps blowing through all its me

[Zope] debugging memory exhaustion

2007-08-09 Thread Chris Withers
Hi All, I'm suffering with an app server that keeps blowing through all its memory. I have a suspicion this is due to a dodgy python script or page template pulling too many objects into memory. However, by the time I know to look, the app server throws MemoryErrors for each and every request.