I would like to improve performance for an ASP.NET Web Application on IIS. Sometimes when many users connect to it, it gets too slow. This app uses the default InProc mode as session state. Before trying web garden or web farm I have decided to try other alternatives such as tuning below parameters in web.config file under system.web section:
<system.web>
<processModel maxWorkerThreads="100" maxIoThreads="100" minWorkerThreads="50"/>
<httpRuntime minFreeThreads="704" minLocalRequestFreeThreads="608"/>
</system.web>
After setting these parameters I cannot access to ASP.NET application, I am getting error 500 internal server error.
If I remove above settings, application works.
Server is a virtual machine and it has an Intel® Xeon® Processor E5 v3 with 12 virtual processors.
Any ideas?