Roblox / nomad-driver-iis

Nomad task driver for running windows IIS services.
Apache License 2.0
51 stars 22 forks source link

Are the task resource limits respected? #27

Open rgl opened 4 years ago

rgl commented 4 years ago

Are the task resource limits set in https://github.com/Roblox/nomad-driver-iis/blob/28e9cadf42954f4a0b2a54e507d21c09ae7b111f/examples/iis-test.nomad#L28-L34 respected?

If so, can you point me to the code that sets those in the IIS application pool?

Vulfox commented 4 years ago

They are not limited by these settings, I set those to work with the nomad job spec requirements. What could be done now is set the application pool xml settings via

https://docs.microsoft.com/en-us/iis/configuration/system.applicationhost/applicationpools/add/cpu

https://docs.microsoft.com/en-us/windows-server/administration/performance-tuning/role/web-server/tuning-iis-10#worker-process-and-recycling-options .

I could have the plugin do this automatically if what IIS does with these settings is to be expected.