I want to change the process model, unfortunately this is not allowed in runtime or in your Web Role web.config
file, the setting is only allowed in the machine.config
file.
<processModel maxWorkerThreads="100" maxIoThreads="100" minWorkerThreads="50"/>
What is the best way to go about changing the machine.config file on all Azure compute instances at once?
The default process model settings are not optimal for my application:
Minimum number of worker threads per CPU in the CLR thread pool: 1
Maximum amount of worker threads per CPU in the CLR thread pool: 20
Maximum number of I/O threads per CPU in the CLR thread pool: 20