M2Crypto SSL memory leaks - fixes or alternatives ??

Roger Binns rogerb at rogerbinns.com
Tue May 10 02:45:59 EDT 2005


> I notice that M2Crypto (a python wrap of OpenSSL) leaks (haemorrhages)
> memory significantly and affects my long running app very badly.
>
> Does anyone know of fixes to this problem?
>
> Does anyone recommmend alternatives to M2C ? e.g pyopenssl.

If you control both ends of the connection then you can do what I did and
switch to SSH.  The Python Paramiko library implements it really well.
(I ended up doing XML-RPC over SSH).

Roger 





More information about the Python-list mailing list