Saturday, March 17, 2007

Improving IIS and NS response times by disabling debug mode

 

Some solutions still have debug-mode compiling enabled in their related web.config files. Debug-mode compiling can cause performance problems for any ASP.NET application. In particular, the following debug-mode behaviors impact NS performance:
The compilation of ASP.NET pages takes longer (since some batch optimizations are disabled)
This can be seen in the initial viewing of each NS console page
Code can execute slower (since some additional debug paths are enabled)
Much more memory is used within the application at runtime
This is of particular importance on NS servers with 2GB of physical memory, and large client facing servers with multiple Altiris solutions enabled
Additional information about debug mode is available at ScottGu's BlogNote: The current version of Altiris Notification Server utilizes ASP.NET v1. It is not currently possible to use the deployment retail="true" setting which is available for ASP.NET v2
Manual Resolution
Make the following modification to each web.config file that is part of the Altiris installation (\Program Files\Altiris). The change will be implemented as soon as another request to the related page occurs. In most cases, this will involve a visit to the related configuration or task NS console page.
Before (web.config)
After (web.config)
Automated Resolution
On the following link you can find an exe file that provides a resolution.
http://kb.altiris.com/article.asp?article=33499&p=3

Source: Improving IIS and NS response times by disabling debug mode
Originally published on Sat, 17 Mar 2007 08:13:00 GMT by Marc

 

Technorati tags: