<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>IIS7 - Performance</title><link>http://forums.iis.net/1050.aspx</link><description>Discussion on how to effectively tweak IIS 7 to resolve issues related to performance</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Directory change notifications for web.config</title><link>http://forums.iis.net/thread/1882114.aspx</link><pubDate>Wed, 15 Oct 2008 20:51:49 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1882114</guid><dc:creator>Mike Ayling</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1882114.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1050&amp;PostID=1882114</wfw:commentRss><description>&lt;p&gt;Just to follow up on this, in case anybody else runs into this problem...&lt;/p&gt;&lt;p&gt;Turns out the culprit was in fact not IIS7. It seems the ISAPI Rewrite filter that we had installed at the &amp;quot;global&amp;quot; server level was doing this. I posted on the helicontech forum about this, and while the response was somewhat vague, it confirms (along with the change I made to our production environment) that the ISAPI Rewrite filter creates a change notification on ~every~ directory it is aware of, as requests come in. Bad. Very bad...&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Here is the response I got from helicontech:&lt;br /&gt;&amp;quot;Here is a simple algorithm:
&lt;br /&gt;1) ISAPI_Rewrite takes .htaceess file, parses it and stores the result in cache.
&lt;br /&gt;2) For each request ISAPI_Rewrite uses only cached copy.
&lt;br /&gt;3) If there are some file system changes, then ISAPI_Rewrite updates the cache.&amp;quot;&lt;/p&gt;</description></item><item><title>Re: Directory change notifications for web.config</title><link>http://forums.iis.net/thread/1880772.aspx</link><pubDate>Tue, 30 Sep 2008 16:29:11 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1880772</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1880772.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1050&amp;PostID=1880772</wfw:commentRss><description>&lt;p&gt;The hotfix you are referring to applies to asp.net&amp;#39;s use of file-change notification for UNC - ConfigPoolMilliSeconds applies to IIS configuration - there are other regkeys that apply to static and asp content served by IIS.&lt;/p&gt;</description></item><item><title>Re: Directory change notifications for web.config</title><link>http://forums.iis.net/thread/1880528.aspx</link><pubDate>Fri, 26 Sep 2008 18:51:51 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1880528</guid><dc:creator>jimrPA</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1880528.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1050&amp;PostID=1880528</wfw:commentRss><description>http://blogs.iis.net/ksingla/archive/2007/12/30/list-of-registry-keys-affecting-iis7-behavior.aspx

Can check out the w3wp section..All I can really find as nothing is in the reference kit.</description></item><item><title>Directory change notifications for web.config</title><link>http://forums.iis.net/thread/1880520.aspx</link><pubDate>Fri, 26 Sep 2008 18:05:35 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1880520</guid><dc:creator>Mike Ayling</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1880520.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1050&amp;PostID=1880520</wfw:commentRss><description>&lt;p&gt;From what I&amp;#39;m noticing, it looks like a running IIS7 w3wp will create a change notification for every directory that it is aware of within a site&amp;#39;s physical hierarchy, based on incoming requests. This is most likely done to monitor for changes to web.config files. So, when the first request comes in to /app1 the server will monitor the directory for changes (regardless of existence of a web.config in that dir). Then if a request comes in to /app2 the same thing occurs. This is all well and good, but is relatively expensive in remote content over unc scenarios, especially when communication with the remote storage is done via SMB1 (think about a very active site with thousands and thousands of physical directories...)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m painfully aware of how to modify lanmanserver and lanmanworkstation parameters to increase the max mpx count and all that fun stuff. However, I&amp;#39;m wondering if there is a way modify the server&amp;#39;s behavior in a similar manner to what this asp .net hotfix did (specifies FCNMode):&lt;br /&gt;http://support.microsoft.com/kb/911272&lt;/p&gt;&lt;p&gt;This hotfix enables the following to be configured:&lt;br /&gt;&lt;/p&gt;&lt;table class="table" cellspacing="1"&gt;&lt;tr&gt;&lt;td&gt;Value&lt;/td&gt;&lt;td&gt;Behavior&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Does not exist &lt;/td&gt;&lt;td&gt;This is the default behavior. For each subdirectory, the application will create an object that will monitor the subdirectory.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;0 or greater than 2 &lt;/td&gt;&lt;td&gt;This is the default behavior.
				  For each subdirectory, the application will create an object that will monitor the subdirectory.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;The application will disable File Change
				  Notifications (FCNs). &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;The
application will create one object to monitor the main directory. The
application will use this object to monitor each subdirectory.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;p&gt;Personally, I like option &amp;quot;2&amp;quot; as it consumes fewer work items to the storage infrastructure. Is it possible to modify IIS7&amp;#39;s default behavior so the distributed configuration is less painful to implement when communicating SMB1? The only thing I know of that even relates to this is ConfigPollMilliseconds, but from what I&amp;#39;ve seen setting that value doesn&amp;#39;t actually prevent the web server from making a NOTIFY_CHANGE call to the file server.&lt;/p&gt;&lt;p&gt;Any suggestions? Thanks&lt;/p&gt;&lt;p&gt;-Mike &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>