[mod_python] 3.2.8 - Memory leaks with util.FieldStorage

Laurent Blanquet lblanquet at b2btechno.net
Sat Jun 10 12:47:41 EDT 2006


Hello,

I'm using MOD_APACHE 3.2.8 (from binary dist). with Apache 2.0.55 under Windows XP Pro.
I encounter memory leaks (~ 16 Ko per request) with a very basic handler like :

import mod_python
from mod_python import util

def handler(req):
    F=util.FieldStorage( req )   
    return mod_python.apache.OK

And sending an HTTP request like : 

====  Output from TCPWATCH ====
POST http://localhost:80/python/Alertes.py HTTP/1.0
Content-Type: multipart/form-data; boundary=--------061006144341906
Content-Length: 209
Proxy-Connection: keep-alive
Host: www.tx2-localhost
Accept: text/html, */*
User-Agent: Mozilla/3.0 (compatible; Indy Library)
Proxy-Authorization: Basic Og==

----------061006144341906
Content-Disposition: form-data; name="TYPE"

LAST_ALERTS
----------061006144341906
Content-Disposition: form-data; name="FILEAGE"

180

----------061006144341906--
====

Has somebody encountered the same problem ?
Is there a turn-around  or a fix that can be forecasted ?

Best regards,   Laurent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20060610/4fad439f/attachment.html


More information about the Mod_python mailing list