Take a few thread dumps and see where threads are stuck. Should give
some direction to work on.

thanks
ashish

2010/12/23 Tsha <[email protected]>:
> Hi all,
>
> I just start on Mina and try to accomplish a proxy server to record users'
> http requests. I made reference to the proxy example that Mina 2.0 has
> offered but found out that the server address is fixed.
> I made some changes to establish connections to servers according to the
> users' requests. To archive that, I create a
>  connector(NioSocketConnector) connect to dynamic address in the
> messageReceived function in IoHandler class. The code can work well when the
> page only send few concurrent requets(try http://www.baidu.com) but
> block when the number of requests increases(try http://mina.apache.org) with
> exceptions thrown.
>
> Need your help. Here attaches the code I have tested.
>
> Best wishes
> Tina
>
>



-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

Reply via email to