You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by ecorderob <en...@nokia.com> on 2013/10/08 09:48:18 UTC
Memory leak when SSL Handshake fails
Hi,
I am having some application using Mina 2.0.7 which is getting huge amount
of SSL Handshake errors because old clients do not accept the server
certificate, and is leaking quite much memory.
I have checked that we are not leaking because of leaving open connections.
We are properly closing those ether by timeout or exception. But still
leaking quite much.
The only reason that I really think about is that when the client send the
"bad certificate" message and the SSL Handshake fails, there would be some
memory which is not properly released.
Have u seen sth similar? Any idea how to solve it?
Thanks in advance,
-Enrique
--
View this message in context: http://apache-mina.10907.n7.nabble.com/Memory-leak-when-SSL-Handshake-fails-tp40037.html
Sent from the Apache MINA User Forum mailing list archive at Nabble.com.
Re: Memory leak when SSL Handshake fails
Posted by ecorderob <en...@nokia.com>.
Created :) DIRMINA-968
Thanks!
--
View this message in context: http://apache-mina.10907.n7.nabble.com/Memory-leak-when-SSL-Handshake-fails-tp40037p40039.html
Sent from the Apache MINA User Forum mailing list archive at Nabble.com.
Re: Memory leak when SSL Handshake fails
Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 10/8/13 9:48 AM, ecorderob a écrit :
> Hi,
>
> I am having some application using Mina 2.0.7 which is getting huge amount
> of SSL Handshake errors because old clients do not accept the server
> certificate, and is leaking quite much memory.
>
> I have checked that we are not leaking because of leaving open connections.
> We are properly closing those ether by timeout or exception. But still
> leaking quite much.
>
> The only reason that I really think about is that when the client send the
> "bad certificate" message and the SSL Handshake fails, there would be some
> memory which is not properly released.
>
> Have u seen sth similar? Any idea how to solve it?
This is very likely to be a bug.
Could you fill a JIRA with as much element and information necessary so
that we can investigate ?
Thanks !
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com