Hi,

I've been running load tests on my app, which is running against mina
1.1.0-SNAPSHOT using java.util.concurrent on a JDK 6 VM. The server is
a 2-way Opteron with 6 gigs of RAM.

What I've been seeing recently (this wasn't seen during the 0.9 days)
is a massive (4g consumed in 1000 seconds), non-linear memory
consumption after a certain point of time.  CPU usage, on the
contrary, remains quite nice during this period.

After quite a bit of difficulty, I managed to capture two snapshots
during the memory freefall. I'm not too super with Yourkit as yet, but
on comparison, I found that there were lots of byte arrays being held
by MINA.

This corresponded with the response times seen from the application at
the same time, which went up to 2 minutes in certain cases. Now this
didn't make sense since the cpu usage was not in the red.  Am I seeing
a case of SocketIoProcessor starvation?

In any case, I'm running a couple of more tests, one with 2
SocketIoProcessors instead of one, and another with the Multi-threaded
SocketIoProcessor that was recently offered by Martin Ritchie.

Do let me know if I can get some specific info from the snapshots.

Regards,
Vinod.

Reply via email to