On 7/27/06, Oscar Herrera <[EMAIL PROTECTED]> wrote:
Hi everyone. I've kept on doing some research on what is causing my application to hang out with an OutOfMemoryException and responding really slow under some server load, my conclusion so far is that the MINA ThreadPool is not working fine, I got to this after making several testing over my server using JProfiler and observing as a pattern that under low load (less than 70 users) the thread pool works fine and uses many threads for the write operation, after this point (well not exactly, it changes each time I test but 70 is a good average) seems like the ThreadPool forgets the other threads are waiting and decides to use only one creating one big queue of outgoing messages for all the write operations. I'll start looking at MINA's source code to see if I can get to the error and perhaps solve it. I'll keep you posted and appreciate any clue on where this error might be,
I hope you adjusted direct buffer heap size of your VM: http://directory.apache.org/subprojects/mina/faq.html#connection-reset Please let me know if you are still experiencing this problem. Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP key fingerprints: * E167 E6AF E73A CBCE EE41 4A29 544D DE48 FE95 4E7E * B693 628E 6047 4F8F CFA4 455E 1C62 A7DC 0255 ECA6
