2009/3/23 gert <gert.cuyk...@gmail.com>:
>
> wsgi r1232 python 3.1 apache 2.2.11
>
> www      29747  0.0  0.8 229496  4160 ?        Sl   01:35   0:00
> (wsgi:site1)         -k start
> www      29776  0.0  0.8   8268  4040 ?        S    01:35   0:00 /usr/
> httpd/bin/httpd -k start
> www      29777  0.0  0.8   8268  4032 ?        S    01:35   0:00 /usr/
> httpd/bin/httpd -k start
> www      29778  0.0  0.8   8268  4032 ?        S    01:35   0:00 /usr/
> httpd/bin/httpd -k start
> www      29779  0.0  0.8   8268  4032 ?        S    01:35   0:00 /usr/
> httpd/bin/httpd -k start
> www      29780  0.0  0.8   8268  4032 ?        S    01:35   0:00 /usr/
> httpd/bin/httpd -k start
>
> x20 apache2ctl restart
>
> www      30550  0.0  1.3 231432  6352 ?        Sl   01:36   0:00
> (wsgi:site1)         -k start
> www      30579  0.0  1.3  10204  6192 ?        S    01:36   0:00 /usr/
> httpd/bin/httpd -k start
> www      30580  0.0  1.3  10204  6184 ?        S    01:36   0:00 /usr/
> httpd/bin/httpd -k start
> www      30581  0.0  1.3  10204  6184 ?        S    01:36   0:00 /usr/
> httpd/bin/httpd -k start
> www      30582  0.0  1.3  10204  6184 ?        S    01:36   0:00 /usr/
> httpd/bin/httpd -k start
> www      30583  0.0  1.3  10204  6184 ?        S    01:36   0:00 /usr/
> httpd/bin/httpd -k start
>
> Don't ask to many difficult questions please :-)

How can I not ask questions when it isn't obvious what you are asking
or pointing out. Since you didn't post the labels, I don't even know
what each of the columns represents on your system.

Looking into my crystal ball I assume that you are possibly pointing
out that memory is still being leaked.

Even though that issue addresses a larger source of memory leakage,
the Python interpreter itself still leaks memory when Py_Finalize() is
called.

I actually find the comment by Mark Hammond in:

  
http://groups.google.com/group/comp.lang.python/browse_frm/thread/7b8eef94aa2af6f7?hl=en#

quite disturbing. Namely:

"""Calling
Py_Initialize and Py_Finalize multiple times does leak (Python 3 has
mechanisms so this need to always be true in the future, but it is true
now for non-trivial apps."""

Unfortunately his grammar is a bit unclear and so not 100% sure what
he meant. Not sure if what he meant to say is that Python 3 will
always have memory leaks, or that it shouldn't, whereas older versions
of Python can.

If by design Python 3.0 is now going to never properly clean up its
memory on exit, then we are all screwed and embedded mode will be
useless and may as well be removed, as well as mod_python also dying
for good. This means that mod_wsgid as described in mod_wsgi roadmap
will be the only viable way of running Python under Apache in the
future.

I'll see if I can get Mark to clarify what he meant.

Graham

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

Reply via email to