Thanks.
I i didn't set the direct buffers and  buffer allocator I used is mina
bytebuffer. Actually I don't quite understand when and what's the purpose of
setting the direct buffer although this topic was mentioned several times in
the forum. Maybe a tutorial is neccessary? ^^


2007/3/20, Trustin Lee <[EMAIL PROTECTED]>:

Hi Mat,

On 3/19/07, mat <[EMAIL PROTECTED]> wrote:
> Hi, All,
>
> I finished my server with mina 1.0.2 and it works fine so far. However,
I
> also observed something i don't understand whether they are  the
problems
> from my implementments.
>
> 1) If the client connects to my server and if client doesn't send
nothing to
> server in certain time(4 hours maybe?). After 4 hours, query something
again
> and query can't be sent to server.
> Is it normally? After few seconds, my client detects the disconnection.

The client might not have noticed the disconnection.  I think it's
normal and can happen at any time.

> 2) Every time client connects to the server, it takes a 'long' time (5
> seconds sometimes )to be "accepted".
>
> 3) After he client doesn't query for a while, the client tries to query
> again  and it takes a while to get the result but only first time slow
and
> next time it becomes fast again. It seems this session goes to "sleep
mode"
> and need wake up. ^^

It's weird.  Are you using direct buffers?  How much memory were you
using at that time?  What buffer allocator are you using?

Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Reply via email to