[pyOpenSSL] memory leak?
Zoltan Felleg
zoltan.felleg at user.hu
Fri Jan 10 16:19:07 CET 2003
Martin Sjögren wrote:
> I've just commited code that makes use of the cyclic GC API for e.g.
> Connections and Contexts and I can no longer see any leaking while using
> instance methods. Zoltan, can you run your tests with the CVS version?
>
>
> /Martin
sure, i will test it on the weekend. the client leakage has disappeared
as soon as the verify callback was removed from the class, thanks. i
have tested the simple server with 2000 clients, the memory footprint of
it was 2724Kat the startup, after the last client has disconnected, it
was 12100K +- 100K. when i modified it a bit, so after a ZeroReturnError
the dropClient function was called with an error parameter, to skip the
shutdown method, the leakage disappeared, but a few hundred TIME_WAIT
lines showed up in the netstat command's output. so right now i'm
completely satisfied, but if you find out something about this, please
let me know :) i'll send you the results of testing the CVS version next
week sometime (i won't have access to the net on monday and maybe
tuesday). thanks for the help,
zoltan
More information about the pyopenssl-users
mailing list