That's the problem: our clients don't behave correctly. Being a proxy for an
IMAP server, most of our clients are cell phones. And here in Brazil our 3G
isn't that good, so I get many "Connection reset by peer" errors all the
time. Even though I close the sessions correctly (that's the main reason our
memory leak problem doesn't occur anymore), our client's behavior will
always be erratic.

I'll take a look at those issues. Thanks again.

Regards.

2010/3/26 Emmanuel Lécharny <[email protected]>

> On 3/26/10 3:54 PM, Cleber Cassol wrote:
>
>> Merci, Emmanuel.
>>
>>
> De rien ...
>
>  Is there any workaround available? Or the workaround is switching to MINA
>> 2.0?
>>
>>
> The first step would be to be sure that the problem is really the spinning
> selector.
>
> There is no workaround but switchng to 2.0.0. You may avoid such problem
> thiugh if the sessions are correctly closed, and if your clients behave
> correctly, as it's a race condition (see
> https://issues.apache.org/jira/browse/DIRMINA-678,
> https://issues.apache.org/jira/browse/DIRMINA-681 and
> http://bugs.sun.com/view_bug.do?bug_id=6403933)
>
> In 2.0.0-RC1, when we met this kind of problem, we ditch the selector and
> register all the keys on a new selector.
>
>
> --
>
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.nextury.com
>
>
>


-- 
Abraços!

Reply via email to