[Moin-user] huge python processes
Adam Shand
adam at personaltelco.net
Thu Dec 12 10:42:05 EST 2002
Hi,
I'm having problems with Python growing to enourmous sizes on my server.
The only Python CGI running in Moin and restarting apache solves the
problem (it takes about a day to get this bad).
Mem: 506324K total, 501924K used, 4400K free, 3892K buffers
Swap: 2000084K total, 1883264K used, 116820K free, 14020K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
27678 ptp 15 0 497M 105M 356 D 3.7 21.2 34:52 python2.2
30570 ptp 14 0 285M 103M 356 D 2.1 21.0 19:28 python2.2
28081 ptp 11 0 479M 71M 368 D 1.3 14.4 22:47 python2.2
27650 ptp 17 0 495M 70M 360 D 3.9 14.3 31:52 python2.2
30635 ptp 9 0 480M 56M 760 D 0.3 11.4 22:03 python2.2
What really confusing to me is that it's the python processes that are
getting huge, since Moin runs as a CGI shouldn't the python processes be
dying off after each request?
Any help or ideas of how to troubleshoot would be much appreciated. I'm
running apache 1.3.26, python 2.2.1 and a slightly hacked moin 1.1 (just
for appearance stuff):
http://www.personaltelco.net/index.cgi?test
MoinMoin CGI Diagnosis
======================
Package "MoinMoin" sucessfully imported.
Release 1.1
Revision 1.161
Python version 2.2.1 (#1, Sep 7 2002, 14:34:30)
[GCC 2.95.4 20011002 (Debian prerelease)]
Python installed to /usr
PyXML is installed
Checking directories...
data directory tests OK (set to
'/var/local/www.personaltelco.net/moin')
text directory tests OK (set to
'/var/local/www.personaltelco.net/moin/text')
user directory tests OK (set to
'/var/local/www.personaltelco.net/moin/user')
backup directory tests OK (set to
'/var/local/www.personaltelco.net/moin/backup')
Found an external diff: "diff - GNU diffutils version 2.7"
Server Environment:
ONLY AVAILABLE FOR LOCAL REQUESTS ON THIS HOST!
Thanks,
Adam.
More information about the Moin-user
mailing list