Re: [Zope-dev] Memory Leak Problem

2002-03-14 Thread Andre Schubert
Andre Schubert schrieb: If have changed the that it skips the ZSQLMethod and sends the query used in the ZSQLMethod direct to the manage_test function from the ZPsycopgDA with the result that zope grows up after running the script. If it is possible that the mem-leak is somewhere in the DA, then

Re: [Zope-dev] Memory Leak Problem

2002-03-14 Thread Andre Schubert
Toby Dickenson schrieb: > > On Thu, 14 Mar 2002 13:50:13 +0100, Andre Schubert > <[EMAIL PROTECTED]> wrote: > > >After a restart my zope-processes are around 12MB. > > Sounds about right. > > >Then i start my script and before i receive any result all processes are > >grown up to 26MB. > > Th

Re: [Zope-dev] Memory Leak Problem

2002-03-14 Thread Toby Dickenson
On Thu, 14 Mar 2002 13:50:13 +0100, Andre Schubert <[EMAIL PROTECTED]> wrote: >After a restart my zope-processes are around 12MB. Sounds about right. >Then i start my script and before i receive any result all processes are >grown up to 26MB. Thats not unreasonable for the working set of zope.

Re: [Zope-dev] Memory Leak Problem

2002-03-14 Thread Andre Schubert
Hi all, I have isolated the memory leak problem on a naked 2.3.3 Zope. I have on ZPsycopgDA and two SQL Methods, one SQL Method contains DTML-IFs and DTML-ELSEs and REQUEST.sets the other SQL Method contains the rendered query of the first, this means there is pure sql in it. Both methods cache t

Re: [Zope-dev] Memory Leak Problem

2002-03-13 Thread Toby Dickenson
On Wed, 13 Mar 2002 13:46:27 +0100, Oliver Bleutgen <[EMAIL PROTECTED]> wrote: >Waah, this is the first time I hear that. That means that even if >zope/python would be bug-free, it's possible to write dtml that causes a >leak? >Is there a (non-esoteric) example for that? (untested, but the pri

Re: [Zope-dev] Memory Leak Problem

2002-03-13 Thread Oliver Bleutgen
One more question then I'll shut up ;-). Toby Dickenson wrote: >>Is there a description somewhere what the basic causes of such leakages >>are? I.e. only bugs in python c-code/zope c-code? >> > > No, its possible for a bug in through-the-web edited dtml to cause > this. Waah, this is the fir

Re: [Zope-dev] Memory Leak Problem

2002-03-13 Thread Andre Schubert
Andre Schubert schrieb: > > Andy McKay schrieb: > > > > Didnt Shane do a leak finder product that can help debug this? > > http://www.zope.org/Members/hathawsh > > I will install the LeakFinder product on the server and look what > happens If have installed LeakFinder this morning and resta

Re: [Zope-dev] Memory Leak Problem

2002-03-13 Thread Toby Dickenson
On Wed, 13 Mar 2002 11:37:00 +0100, Oliver Bleutgen <[EMAIL PROTECTED]> wrote: >- I did paste only the objects which have such a high count (next one >was approx 200). Hmm. Ill have to ponder what that means. >- This server (2.3.3) has no special products on it, just 2 Folderish >ZClasses, wh

Re: [Zope-dev] Memory Leak Problem

2002-03-13 Thread Oliver Bleutgen
Toby Dickenson wrote: > On Tue, 12 Mar 2002 18:38:16 +0100, Oliver Bleutgen <[EMAIL PROTECTED]> > wrote: > > >>Acquisition.ImplicitAcquirerWrapper: 42442 >> > > That class is used to glue together acquisition content chains. Being > top of the list indicates that you have been leaking an acquis

Re: [Zope-dev] Memory Leak Problem

2002-03-13 Thread Toby Dickenson
On Tue, 12 Mar 2002 18:38:16 +0100, Oliver Bleutgen <[EMAIL PROTECTED]> wrote: >Acquisition.ImplicitAcquirerWrapper: 42442 That class is used to glue together acquisition content chains. Being top of the list indicates that you have been leaking an acquisition context chain. That doesnt mean t

Re: [Zope-dev] Memory Leak Problem

2002-03-12 Thread Andre Schubert
Oliver Bleutgen schrieb: > > >>Hi all, > >> > >>i have a little problem with my production server. > >>The memory usage of the zope processes running on this server are > >>growing up > >>100K a day upto 1MB a day. > >>How can i track down the problem. > [snip] > > Chris McDonough wrote:

Re: [Zope-dev] Memory Leak Problem

2002-03-12 Thread Andre Schubert
Andy McKay schrieb: > > Didnt Shane do a leak finder product that can help debug this? > http://www.zope.org/Members/hathawsh I will install the LeakFinder product on the server and look what happens > > On March 12, 2002 08:42 am, Chris McDonough wrote: > > Finding memory leaks is an exer

Re: [Zope-dev] Memory Leak Problem

2002-03-12 Thread Chris McDonough
> A question and one remark. > Wouldn't staring at the refcounts in the debug panel also give some > info? At least for selfmade products? Maybe... depends on your level of Zope Zen. It's hard to tell which classes should and should not have high refcounts. For example, in your sample output, I

Re: [Zope-dev] Memory Leak Problem

2002-03-12 Thread Oliver Bleutgen
>>Hi all, >> >>i have a little problem with my production server. >>The memory usage of the zope processes running on this server are >>growing up >>100K a day upto 1MB a day. >>How can i track down the problem. [snip] Chris McDonough wrote: > Finding memory leaks is an exercise in "binar

Re: [Zope-dev] Memory Leak Problem

2002-03-12 Thread Andy McKay
Didnt Shane do a leak finder product that can help debug this? http://www.zope.org/Members/hathawsh On March 12, 2002 08:42 am, Chris McDonough wrote: > Finding memory leaks is an exercise in "binary search". Isolate half of > the Zope (and Product) code and find out if it leaks. If it doesn't

Re: [Zope-dev] Memory Leak Problem

2002-03-12 Thread Chris McDonough
particular recipe of diagnostics. - Original Message - From: "Andre Schubert" <[EMAIL PROTECTED]> To: "zope" <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 10:57 AM Subject: [Zope-dev] Memory Leak Problem > Hi all, > > i have a little prob

[Zope-dev] Memory Leak Problem

2002-03-12 Thread Andre Schubert
Hi all, i have a little problem with my production server. The memory usage of the zope processes running on this server are growing up 100K a day upto 1MB a day. How can i track down the problem. Zope is 2.3.3 Python is 1.5.2 OS is RedHat Immunix 6.2 Hope somebody could help... Thanks, --