Updated: (MODPYTHON-60) PythonOption directive causes memory leak
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Updated: (MODPYTHON-60) PythonOption directive causes memory leak




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Updated: (MODPYTHON-60) PythonOption directive causes memory leak  
Nicolas Lehuen (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-16-05 10:54 PM

[ http://issues.apache.org/jira/brows...HON-60?page=all ]

Nicolas Lehuen updated MODPYTHON-60:
------------------------------------

Fix Version:     (was: 3.3.0)

> PythonOption directive causes memory leak
> -----------------------------------------
>
>          Key: MODPYTHON-60
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-60
>      Project: mod_python
>         Type: Bug
>   Components: core
>     Versions: 3.1.4, 3.1.3, 3.2.0
>  Environment: Linux
>     Reporter: Jim Gallacher
>     Assignee: Jim Gallacher
>     Priority: Critical
>      Fix For: 3.2.0

>
> This was previously reported on the mod_python mailing list. See http://www.modp
ython.org/pi...ril/015395.html
> A memory leak results when there is a PythonOption directive in the apache
 config file. Leak occurs when PythonOption is in either <VirtualHost>  or <
Directory> section.
> For each request, approx 25 bytes of memory is leaked per PythonOption dir
ective.
> Methodolgy (using top to gauge memory usage, 100,000 requests per test cas
e):
> def handler(req):
>     req.content_type = 'text/plain'
>     req.write('PythonOption test\n')
>     return apache.OK
> 1. No PythonOption directives:
>     1.4 % MEM
> 2. 50 PythonOption directives:
>     11.3% MEM
> 3. 100 PythonOption directives:
>      25.4 % MEM
> I know 50 or 100 PythonOptions is not likely in a production system, but it clearl
y demonstrate the leak.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:57 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register