Re: A big problem: SocketConnector blocked!

2008-05-21 Thread Michael Qi
Hi Lee, I could not send the application, the gmail server report failure. Could I send it direct to your gmail address? Regards HeQi On Tue, May 20, 2008 at 9:19 AM, 이희승 (Trustin Lee) <[EMAIL PROTECTED]> wrote: > Please provide a working test application, instead of partial code. > > On Mon,

Re: A big problem: SocketConnector blocked!

2008-05-21 Thread Julien Vermillard
With using 1 SocketConnector for connecting 100 sessionqs, you will share 1 selector among the 100 sessions. Julien On Wed, 21 May 2008 20:53:05 +0800 "Michael Qi" <[EMAIL PROTECTED]> wrote: > Why is there is one selector per SocketConnector? > Could it be reused system wide? > > On Tue, May 20

Re: A big problem: SocketConnector blocked!

2008-05-21 Thread Michael Qi
Why is there is one selector per SocketConnector? Could it be reused system wide? On Tue, May 20, 2008 at 9:19 AM, 이희승 (Trustin Lee) <[EMAIL PROTECTED]> wrote: > Please provide a working test application, instead of partial code. > > On Mon, 19 May 2008 22:43:46 +0900, Michael Qi <[EMAIL PROTECTED

Re: A big problem: SocketConnector blocked!

2008-05-19 Thread Trustin Lee
Please provide a working test application, instead of partial code. On Mon, 19 May 2008 22:43:46 +0900, Michael Qi <[EMAIL PROTECTED]> wrote: Hi, I am using mina 1.1.7 and try to simulate many client to a server for stress test. and I make 50 clientSessoins, each has a SocketConnector, a

Re: A big problem: SocketConnector blocked!

2008-05-19 Thread Michael Qi
And the server is using mina SocketAcceptor. On Mon, May 19, 2008 at 9:43 PM, Michael Qi <[EMAIL PROTECTED]> wrote: > Hi, > I am using mina 1.1.7 and try to simulate many client to a server > for stress test. > > and I make 50 clientSessoins, each has a SocketConnector, and the > ClientSession.s

A big problem: SocketConnector blocked!

2008-05-19 Thread Michael Qi
Hi, I am using mina 1.1.7 and try to simulate many client to a server for stress test. and I make 50 clientSessoins, each has a SocketConnector, and the ClientSession.start() is : private static ThreadPoolExecutor exService = new ThreadPoolExecutor(20, 40, 60L, TimeUnit