Don't miss out on new posts! Sign up!
Windows

How to Tune Performance in IIS 7.5

In running sites via Microsoft’s IIS Server platform, it becomes necessary from time to time to adjust performance settings to compensate for high load or other demands on the server running IIS server.  IIS 7 is closely tied in with .NET framework and that being the case we can adjust settings in our .NET framework configuration to affect performance in IIS.

There is a file called “machine.config” which controls the settings for the “global worker process.”  Each one of these worker processes in IIS has a copy of the “machine.config” settings and uses this as a means to increase or decrease the processing power for web applications.  If performance of a website is not that great, we can try to increase those work processes which in turn will make for a larger pool of processing power and improves performance accordingly.

However, there is a catch 22 to this scenario in that setting the worker process settings too high can also degrade performance.  So there is definitely a sweet spot in the settings which must be tuned according to the web application as well as taking the hardware into consideration that is actually running the web application.

Changing “Machine.config” Settings


Final Thoughts
Altering the files that control IIS via .NET configuration is not that difficult, however, absolute attention to detail and paying attention to what you are doing with manipulating the files is required or you could have a non functional web server in a matter of minutes.  No matter how confident or familiar you are with manipulating files, always make a copy of the machine.config file before changing or adding values, as you can easily break your application along with IIS.

Don't miss out on new posts! Sign up!

Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com and has over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, Brandon has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family.

Related Articles

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.