PyApache memory leak?

seant at iname.com seant at iname.com
Wed May 3 22:24:14 EDT 2000


In article <Pine.LNX.4.21.0004270834490.27709-100000 at saturn.ispol.com>,
  Gregory Trubetskoy <grisha at ispol.com> wrote:
...
>
> Another note to consider - I am not 100% sure that Py_EndInterpreter()
> actually frees all memory. In fact I'm almost sure it doesn't, and you
> still need to watch your reference counts if you create object via the
> C-API. If that is the case, then PyApache has a higher likelyhood of
> actually leaking memory.
>
...
I've just completed a couple of overnight thrashing tests. Serving
400,000 pages or so appears to leak about 400MB of memory.
This amounts to about 1kb per page invocation. Each page was served
by PyApache. The system tracking tool on Linux showed the 10 or so
httpd processes that had been spawned as having grown to about 40MB
each.

Comments from PyApache folks?

-- Sean


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list