Hello again. Thank you in advance for your great support so far. As you may well remember, I was having a memory leak issue with MINA 1.1.7, but managed to solve it thanks to your insights. Now, I have a differente problem to deal with: sometimes, under not so heavy load (about 2 requests per second), the server CPU goes to 50%, 60% and sometimes to 100% usage. It stays there for some minutes, and then it goes down again for the normal level of 5-10%.
So, my question is: Is there a general rule for configuring the IoProcessor and IoHandler threads? Our app is configured this way: IoProcessor for Acceptor and Connector: 5 (our server CPU has a quadcore processor) IoHandler threadpool: minimum 5, maximum 10 for request and response IoHandlers (2 threadpools configured) Based on that configuration, is there a reason for those CPU usage bursts? How can I tune that? I've profiled our application using VisualVM and got the following results: http://yfrog.com/bfprofilingp The image shows that more than 90% of CPU time is being used by MINA. Thanks in advance for any help. Regards.
