quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Gallacher (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MODPYTHON-184) Memory leak apache.table()
Date Sun, 13 Aug 2006 16:04:14 GMT
     [ http://issues.apache.org/jira/browse/MODPYTHON-184?page=all ]

Jim Gallacher updated MODPYTHON-184:
------------------------------------

    Description: 
There is a memory leak in apache.table().

from mod_python import apache

def handler(req):
    req.content_type = 'text/plain'
    t = apache.make_table()

    req.write('ok table:')
    return apache.OK

Using mpm-worker with StartServers 2, and 20000 requests results in memory consumption going
from 1.2% to 9.3% per process. (ie approx 8k per request)

This will have an impact on FieldStorage which makes use of apache.make_table(), which is
the deprecated name for apache.table()




  was:
There is a memory leak in apache.table().

from mod_python import apache

def handler(req):
    req.content_type = 'text/plain'
    t = apache.make_table()

    req.write('ok table:')
    return apache.OK

Using mpm-worker with StartServers 2, and 20000 requests results in memory consumption going
from 1.2% to 9.3% per process. (ie approx 8k per request)





> Memory leak apache.table()
> --------------------------
>
>                 Key: MODPYTHON-184
>                 URL: http://issues.apache.org/jira/browse/MODPYTHON-184
>             Project: mod_python
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.3, 3.2.10
>            Reporter: Jim Gallacher
>         Assigned To: Jim Gallacher
>
> There is a memory leak in apache.table().
> from mod_python import apache
> def handler(req):
>     req.content_type = 'text/plain'
>     t = apache.make_table()
>     req.write('ok table:')
>     return apache.OK
> Using mpm-worker with StartServers 2, and 20000 requests results in memory consumption
going from 1.2% to 9.3% per process. (ie approx 8k per request)
> This will have an impact on FieldStorage which makes use of apache.make_table(), which
is the deprecated name for apache.table()

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message