[Zope] Memory consumtion of a zope instance

Andreas Lauser and@poware.org
Wed, 11 Sep 2002 23:48:03 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi List,

I'm doing shared zope hosting, where everbody gets his own instance (usin=
g the=20
INSTANCE_HOME environment variable). but when I looked at the memory=20
consumtion I noticed that every instance grabed between 11 and 18 Megabyt=
es=20
of RAM. Since our server is not too blessed with RAM I wondered, whether =
it=20
was possible to reduce the RAM comsumtion of the instances.=20

I thought at doing a 'late' fork: start a supervisor process at first whi=
ch =20
loads python and initializes the default products. An Instance would fork=
=20
this process and initialize the products special to it. In this scheme=20
python's and most of zope's RAM pages are copy on write on most UNIX syst=
ems=20
(-> they don't eat your mem). As a site effect, instance startup would be=
=20
greatly accelerated.

Is something like this available, or planned? Maybe I can code this on my=
 own,=20
but at first I've got to gather a lot more experience with zope.

Thanks
  AND

- --=20
"I used to think that the brain was the most wonderful organ in my
body.  Then I realized who was telling me this."
                -- Emo Phillips
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9f7oThlekfiEFJv4RAhMFAKC5ZUTcVFLXnKfHaz8ahYnn9ulvlQCfXu1R
WH2H5dNYyrAFRgdc9XF7rbg=3D
=3DSFpK
-----END PGP SIGNATURE-----