Le 25/09/14 22:00, Erick Lichtas a écrit :
> Hi everyone,
Hi Erick,
>
> I have ran into a situation with Mina that causes the NIOProcessor threads to
> run away and consume all available CPU on the system (of the current core to
> be more accurate). My context is that I'm running the Apache FTP server, but
> instead of using the bundled version of Mina 2.0.4, I am running it on 2.0.7.
> This works great for the most part.
>
> My situation occurs when the security provider (JSafeJSSE) I'm using rejects
> the SSL handshake because the FTPS client doesn't have any strong enough
> supported ciphers (stacktrace included below), this causes the NIOProcessor
> thread of MINA to get stuck. I've tracked it down to the following block of
> code in the AbstractIoBuffer.shrink() method:
>
> for (;;) {
> if (newCapacity >>> 1 < minCapacity) {
> break;
> }
> newCapacity >>>= 1;
> }
Ugly...
i'll fix that asap.
Can you fill a JIR ?
Many thanks !