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? :)

-pete


-- 
[EMAIL PROTECTED] - http://fotap.org/~osi



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to