<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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/"><channel><title>Why IIS6 Application Pool Recycle Events are not logged</title><link>http://blogs.msdn.com/david.wang/archive/2006/02/28/Why-IIS6-Application-Pool-Recycle-Events-are-not-logged.aspx</link><description>Question: Hi, I would like IIS to log application pool recycle events. I followed this article http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/87892589-4eda-4003-b4ac-3879eac4bf48.mspx restarted IIS and even rebooted the machine</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Why IIS6 Application Pool Recycle Events are not logged</title><link>http://blogs.msdn.com/david.wang/archive/2006/02/28/Why-IIS6-Application-Pool-Recycle-Events-are-not-logged.aspx#8445829</link><pubDate>Thu, 01 May 2008 04:55:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8445829</guid><dc:creator>ppateel</dc:creator><description>&lt;p&gt;We have a big difference of opinion on the App pool recycle issue. The question is if I do an IISRESET does that recycle all App polls or is there &amp;nbsp;a situation where an IISRESET will not recycle app pools&lt;/p&gt;
</description></item><item><title>re: Why IIS6 Application Pool Recycle Events are not logged</title><link>http://blogs.msdn.com/david.wang/archive/2006/02/28/Why-IIS6-Application-Pool-Recycle-Events-are-not-logged.aspx#8446686</link><pubDate>Thu, 01 May 2008 11:56:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8446686</guid><dc:creator>David.Wang</dc:creator><description>&lt;p&gt;ppateel - IISRESET forcibly restarts all of IIS, killing its processes as necessary, so it does more than just recycle all Application Pools.&lt;/p&gt;
&lt;p&gt;//David&lt;/p&gt;
</description></item><item><title>re: Why IIS6 Application Pool Recycle Events are not logged</title><link>http://blogs.msdn.com/david.wang/archive/2006/02/28/Why-IIS6-Application-Pool-Recycle-Events-are-not-logged.aspx#8446802</link><pubDate>Thu, 01 May 2008 13:32:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8446802</guid><dc:creator>Prahalad</dc:creator><description>&lt;p&gt;David,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Thanks for the reply. Yes, I know that. But me and my colleague were having an academic discussion whether IISRESET will recycle all application pools or in some cases leaves application pools still alive requiring an explicit App pool recycle action after an IISRESET. My take was that since the w3wp.exe is dependent on IIS IISRESET will in every single case will Kill all w3wp.exe worker processes and an App pool recycle is not necessary after an IISRESET. &amp;nbsp;I did not know whether that was really the case and I searched extensively and I was unable to dig up any literature to back my theory so I am questioning whether I was correct in the first place. Any light or pointer to where I should look will really me in understanding this issue.&lt;/p&gt;
&lt;p&gt;Thank you so much for taking time to reply to my question,&lt;/p&gt;
&lt;p&gt;Prahalad&lt;/p&gt;
</description></item><item><title>re: Why IIS6 Application Pool Recycle Events are not logged</title><link>http://blogs.msdn.com/david.wang/archive/2006/02/28/Why-IIS6-Application-Pool-Recycle-Events-are-not-logged.aspx#8449788</link><pubDate>Fri, 02 May 2008 11:32:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8449788</guid><dc:creator>David.Wang</dc:creator><description>&lt;p&gt;Prahalad - actually, if Orphaning is enabled (not enabled by default), orphaned w3wp.exe (which never handle any more requests) will remain after IISRESET. However, Application Pool Recycle won't do anything, either. Orphaned w3wp.exe are just that -- orphaned -- and no longer under control/watch of IIS and hence can hang around.&lt;/p&gt;
&lt;p&gt;//David&lt;/p&gt;
</description></item><item><title>re: Why IIS6 Application Pool Recycle Events are not logged</title><link>http://blogs.msdn.com/david.wang/archive/2006/02/28/Why-IIS6-Application-Pool-Recycle-Events-are-not-logged.aspx#8450808</link><pubDate>Fri, 02 May 2008 18:22:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8450808</guid><dc:creator>Prahalad</dc:creator><description>&lt;p&gt;David. Thanks for your clarification.&lt;/p&gt;
</description></item><item><title>re: Why IIS6 Application Pool Recycle Events are not logged</title><link>http://blogs.msdn.com/david.wang/archive/2006/02/28/Why-IIS6-Application-Pool-Recycle-Events-are-not-logged.aspx#8937132</link><pubDate>Tue, 09 Sep 2008 20:57:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8937132</guid><dc:creator>Ram Dash</dc:creator><description>&lt;p&gt;I don't know whether orphaning was enabled, but I've seen that an IISRESET doesn't necessarily stop all w3wp.exe processes. Moreover, an IISRESET may not cleanly stop IIS. In that case, you need to kill the inetinfo.exe process and then try to do IISRESET.&lt;/p&gt;
</description></item><item><title>re: Why IIS6 Application Pool Recycle Events are not logged</title><link>http://blogs.msdn.com/david.wang/archive/2006/02/28/Why-IIS6-Application-Pool-Recycle-Events-are-not-logged.aspx#9690444</link><pubDate>Wed, 03 Jun 2009 12:36:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9690444</guid><dc:creator>Edmund</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am running Windows Server 2003 with default settings and have some application pools in isolation mode.&lt;/p&gt;
&lt;p&gt;The server works well except the fact I have some unexplained worker process recycles. (BTW, I have the app pools set to recycle at a specific time during the night).&lt;/p&gt;
&lt;p&gt;So I changed the LogEventOnRecycle to 255 but do not see any such event logged. I am manually recycling the pool (it is indeed recycling as I see at the task manager’s processes tab).&lt;/p&gt;
&lt;p&gt;I also tried clearing the Application Event log.&lt;/p&gt;
&lt;p&gt;Any idea why events are not logged?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Edmund&lt;/p&gt;
</description></item></channel></rss>