-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: ashokm
Message 1 in Discussion

 
Hi, 
I am developing a remote server application. this has to be service multiple requests 
at the same time. This is currently being done using the .Net thread pool. 
I have no problems with upto 25 clients accessing my server. After that I get an 
exception on the server , that the system is "unable to find a free thread to complete 
the requested operation".  
I know that .Net specifies a default setting of 25 worker threads and 25 IO threads, 
these defaults are specified in machine.config. But even by changing these parameters 
I am not being able to move beyond the limit of 25 simultaneous requests. I have also 
restarted my system after changing these parameters, but there is no change in 
behaviour. We are also printing to console, the number of WorkerThreads and 
RequestQueue by using ThreadPool.GetMaxThreads, but this prints 25 , 25 for both of 
these even after changes to the config file. We have also tried to configure the 
minFreeThreads , minLocalRequestFreeThreads and appRequestQueueLimit, but there is no 
change in behaviour.  
Why is the .Net thread pool not queueing the request if there are no free threads 
available? Is there a way to ensure this happens ? Also, what is the method of 
definitely increasing the thread pool size? 
Note: I am using .Net framework version 1.03. 
regards, 
M Ashok Kumar 
Phone: +91-80-51191919 Ext: 3137
e-mail: [EMAIL PROTECTED] 


-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to