Thanks to Trustin. :-)
As you said, I check TIME_WAIT of client side.
--
[client side] (9009 is server port)
$ netstat -an | grep 9009 | wc -l
15084
--
it's about 65536 times socket open/close.
server is blocked. (also client is blocked)
and I was kill client and wait.
--
[client side]
$ netstat -an | grep 9009 | wc -l
0
--
and then I running client again.
but server is still blocked.
how can I solve this problem?
Thanks.
On 8/12/07, Trustin Lee <[EMAIL PROTECTED]> wrote:
> Hi Sungwon,
>
> On 8/12/07, Sungwon Jung <[EMAIL PROTECTED]> wrote:
> > Hello. I'm developing with MINA 1.1.1. (thanks to Trustin and dev)
> >
> > I tested socket open/close of infinite loop with simple own protocol.
> >
> > I think before test, client program will send request and receive
> > response to infinite loop. But, after 65536 loop, server is maybe
> > down? server cannot ack.
> >
> > what's the problem?
>
> It's probably the client side ran out of available ports. If you hit
> 'netstat -an' on the client side, you will see a lot of TIME_WAIT
> state I guess. Did the client raise any exception?
>
> HTH,
> Trustin
> --
> what we call human nature is actually human habit
> --
> http://gleamynode.net/
> --
> PGP Key ID: 0x0255ECA6