[Zope] Zope Eating Memory for Breakfast

Monty Taylor mtaylor@goldridge.net
Thu, 13 Apr 2000 11:19:43 +0200


This is a multi-part message in MIME format.
--------------CB03948FBB65C019003A62DC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Here's the latest from my camp...

load averages:  1.05,  0.71, 
0.75                                                                                   
11:12:38
102 processes: 99 sleeping, 1 zombie, 2 on cpu
CPU states: 71.9% idle, 25.0% user,  2.9% kernel,  0.3% iowait,  0.0%
swap
Memory: 4096M real, 62M free, 2266M swap in use, 5083M swap free

  PID USERNAME THR PRI NICE  SIZE   RES STATE   TIME    CPU COMMAND
 2977 zope       8  40    0 1069M 1059M cpu2    6:13 25.19% python
23153 root       1   0    0 2208K  752K cpu0    3:41  1.58% top
25311 www        1  58    0 1584K 1032K sleep   0:00  0.03% Zope.cgi
25310 www        1  58    0 1584K 1032K sleep   0:00  0.02% Zope.cgi
 9719 www        4  48    0   45M   17M sleep   1:59  0.02% httpsd

The story of what's been happening this morning. 
  
  1) Developer uploaded and deleted 3 images. 

  2) I tried to export the Portal folder. 

I think 2 is the one that did it. 

Last I checked, this morning, Zope was at 29M. 
So I restart Zope...

load averages:  1.88,  1.98, 
1.45                                                                                   
11:25:20
103 processes: 100 sleeping, 1 zombie, 2 on cpu
CPU states: 66.9% idle, 24.6% user,  4.3% kernel,  4.2% iowait,  0.0%
swap
Memory: 4096M real, 1361M free, 1087M swap in use, 6260M swap free

  PID USERNAME THR PRI NICE  SIZE   RES STATE   TIME    CPU COMMAND
25588 goldmine   4  17    1  123M  116M cpu2    4:58 24.44% perl
25917 root       1   0    0 2216K 1600K cpu1    0:01  1.25% top
25916 zope       4  30    0   19M   12M sleep   0:03  0.89% python
25590 oracle81   1  58    0  115M   85M sleep   1:18  0.32% oracle


A find in /Portal reports 175 items. There are some pictures, but not
that many. Why would export need 1069M of memory and 25% of a CPU? 

Any thoughts?

Hung Jung Lu wrote:
> 
> It did not go up after a second time. But I varied the
> search criteria, and went into several folders/subfolders,
> and the memory kept increasing, up to a point that it was
> harder to make increases.
> 
> (1) So, is there a way to load up EVERYTHING? This is the
> only way I can be sure about the maximum memory usage. In
> general, if Data.fs is 10 MB, what would be the maximum
> RAM usage?
> 
> (2) Does Zope unload things no longer in use? Or do they
> stay in memory ever after loaded?
> 
> regards,
> 
> Hung Jung
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )
--------------CB03948FBB65C019003A62DC
Content-Type: text/x-vcard; charset=us-ascii;
 name="mtaylor.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Monty Taylor
Content-Disposition: attachment;
 filename="mtaylor.vcf"

begin:vcard 
n:Taylor;Monty
tel;cell:+31 (0)6 200 17486
tel;fax:+31 (0)20 589 5566
tel;work:+31 (0)20 589 5517
x-mozilla-html:TRUE
url:http://www.goldridge.net
org:Information Innovation
adr:;;Amstelveenseweg 88-90;Amsterdam;;1075 XJ;The Netherlands
version:2.1
email;internet:mtaylor@goldridge.net
title:Information Artist
x-mozilla-cpt:;0
fn:Monty Taylor
end:vcard

--------------CB03948FBB65C019003A62DC--