[mod_python] Apache and mod_python memory usage

Eugene Morozov usenet at eugenemorozov.name
Thu Feb 15 00:35:13 EST 2007


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

Hello,
We're using apache and mod_python for running Pylons-based CMS. We're a
little bit concerned with memory usage. With mod_python
apache2-mpm-worker consumes a lot of memory:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
23787 www-data 20 0 366m 48m 4104 S 0.0 12.5 0:09.23 apache2

48Mb is a bit too big even for apache. And why it needs 366Mb of virtual
memory?

If I disable mod_python these values are cut significantly (to 266Mb
virtual and 21Mb RSS, which is still much, it seems).

Not that it's a huge problem now, but I'm curious why so much memory is
consumed.
Eugene
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF0/ERk5VH2F5tiW4RAilgAJ0ZXaQ1j/nZkbBfolIvuBmiyMBVxACgxYZk
cdS74Zm1CF/Mv+PlQNXZGEM=
=js+p
-----END PGP SIGNATURE-----



More information about the Mod_python mailing list