Hi,
I use MINA v1.1.7 on Windows server 2003, 64 bit platform with 32bit JVM.
Currently we have no ability to upgrade to latest version.

My application acts like a TCP proxy server for our clients and uses MINA
as a client to connect to backend servers and provide a TCP tunnel for our
clients.

We are observing that under heavy load (around 2000 users downloading 10MB
file from our a target server simultaneously), MINA starts sending TCP
buffer full messages to target server. Some of these connections are
eventually are reset by target server.

We use MINA as follows,
1) create SocketConnector as below

IoConnector ioConnector = new
SocketConnector(Runtime.getRuntime().availableProcessors() + 1,
Executors.newCachedThreadPool());

2) set connection timeout as below

ioConnector.getDefaultConfig()).setConnectTimeout(Integer.MAX_VALUE);

3) set an Executor thread pool to filter chain

ioConnector.getFilterChain().addLast("protocolThreadPool", new
ExecutorFilter(10));

Apart from this, there is nothing much done except reading and writing
bytes from MINA based connections.

I can provide additional information if required.

Thanks
Suhas

Reply via email to