So I'm looking at moving from mod_python to mod_wsgi because
mod_python leaks memory in apache on graceful restarts, and we have an
automated linux box without a human present most of the time, so this
is unacceptable.

Unfortunately, mod_wsgi seems to leak too!

[r...@miketug2 teleworker]# grep -i python /etc/httpd/admin-conf/
httpd.conf
[r...@miketug2 teleworker]# sv term /service/httpd-admin/
[r...@miketug2 teleworker]# ps -eo pid,user,fname,vsize --sort -vsize
| grep httpd-ad
25737 admin    httpd-ad  15284
25736 root     httpd-ad  11960
[r...@miketug2 teleworker]# ps -eo pid,user,fname,vsize --sort -vsize
| grep httpd-ad
25737 admin    httpd-ad  15284
25736 root     httpd-ad  11960
[r...@miketug2 teleworker]# sv 1 /service/httpd-admin
[r...@miketug2 teleworker]# ps -eo pid,user,fname,vsize --sort -vsize
| grep httpd-ad
25746 admin    httpd-ad  16140
25736 root     httpd-ad  12816
[r...@miketug2 teleworker]# sv 1 /service/httpd-
admin
[r...@miketug2 teleworker]# ps -eo pid,user,fname,vsize --sort -vsize
| grep httpd-ad
25751 admin    httpd-ad  16976
25736 root     httpd-ad  13652
[r...@miketug2 teleworker]# sv 1 /service/httpd-
admin
[r...@miketug2 teleworker]# ps -eo pid,user,fname,vsize --sort -vsize
| grep httpd-ad
25755 admin    httpd-ad  17812
25736 root     httpd-ad  14488


If I repeat this test with mod_wsgi disabled, the process size stays
constant.

[r...@miketug2 teleworker]# rpm -q httpd
httpd-2.2.3-31.el5.centos
[r...@miketug2 teleworker]# rpm -q python
python-2.4.3-27.el5
[r...@miketug2 teleworker]# rpm -q mod_wsgi
mod_wsgi-2.1-2.el5

Is this a known problem?

Thanks,
Mike

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to