directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter royal <>
Subject Re: [MINA] IoThreadPoolFilter in 0.9.4
Date Wed, 26 Jul 2006 19:29:05 GMT
On Jul 24, 2006, at 5:35 PM, Oscar Herrera wrote:
> Thanks for your prompt answer. Is there anyway to manually  
> configure this?. I ask this because actually I’ve been making some  
> profiling on my application and I find that only one of the threads  
> is being used for all write operations, so as you can imagine when  
> I get around 120 users the servers starts responding slowly and  
> when it gets to about 260 it definitely stops responding and  
> instead the memory starts increasing rapidly until an out of memory  
> exception crashes the server.
> Any idea where might be the error?, how can I assure that the  
> server is using the ThreadPool for processing messages?

Yes, on the IoServiceConfig interface, you can set a ThreadModel.

Having one thread for all writes sounds odd, since the write should  
occur on the thread being used from the thread pool. Can  you post a  
small example? :)


-- -

View raw message