Re: [Zope] Memory problems

2001-01-11 Thread Dieter Maurer

Dimitris Andrakakis writes:
 > Dieter wrote:
 > > "ps" is still a bit stupid and does not visualize that
 > > they are threads rather than normal (full blown) processes.
 > 
 > ps -axf ?
Thank you!

But it displays the children hierarchy without an indication
what children are full blown processes and what are threads.

Nevertheless, your message was good for me.
I knew, that there is a ps option that shows the children
hierarchy, but I did never look at it.

It was quite impressive, when I did after I got your
response.


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Memory problems

2001-01-10 Thread Dimitris Andrakakis

Dieter wrote:
> "ps" is still a bit stupid and does not visualize that
> they are threads rather than normal (full blown) processes.

ps -axf ?

Dimitris
http://atlas.central.ntua.gr:8000


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Memory problems

2001-01-10 Thread Dieter Maurer

Tom Deprez writes:
 > ... potential memory leak ...
You can use the program "top" to analyse memory usage.
This will show you, which process[es] consume memory.

If Zope does it, then you can use "Control Panel->Debugging"
to get some hints where the leak may be.

 > ... many Zope processes shown by "ps" (Linux) ...
Linux implements threads by processes that share memory
and other resources.
"ps" is still a bit stupid and does not visualize that
they are threads rather than normal (full blown) processes.


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Memory problems

2001-01-10 Thread Tom Deprez

Hi,

Since a few days I'm experiencing some response problems on my zope site. At
some moments calling a page goes very fast a few seconds later, recalling
this page takes very long! At the end, every page takes long time, if they
ever appear

If I use a simple memory checker program, then I see that memory leaks
away (memory goes from 48Mfree to 41M in 15min!! and eventially it ends
at a few thousands K)  However, I've no idea if it is comming from Zope
2.2.5 or from my database adapter in zope, or from somewhere else
Is there a good way to check memory leaks and to pinpoint them?

If I ask to show me the processes on my Linux box, I see the following
related ones :

/usr/local/zope/bin/python /usr/local/zope/z2.py -Z
/home/httpd/zope/var/zProcess.pid (root)

/usr/local/zope/bin/python /usr/local/zope/z2.py -Z
/home/httpd/zope/var/zProcess.pid (nobody)
/usr/local/zope/bin/python /usr/local/zope/z2.py -Z
/home/httpd/zope/var/zProcess.pid (nobody)
/usr/local/zope/bin/python /usr/local/zope/z2.py -Z
/home/httpd/zope/var/zProcess.pid (nobody)
/usr/local/zope/bin/python /usr/local/zope/z2.py -Z
/home/httpd/zope/var/zProcess.pid (nobody)
/usr/local/zope/bin/python /usr/local/zope/z2.py -Z
/home/httpd/zope/var/zProcess.pid (nobody)
/usr/local/zope/bin/python /usr/local/zope/z2.py -Z
/home/httpd/zope/var/zProcess.pid (nobody)

gds_inet_server # Interbase Database Remote Server (root)
gds_inet_server # Interbase Database Remote Server (root)

Is it normal that zope opens so much processes?

Thanks in advance,

Tom.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )