Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Running IIS 6 on a handful of Windows 2003 Web Ed. servers. Each has some App Pools configured with "Idle Timeout" of x minutes. No recycling, just the idle timeout from the Properties Performance tab.

App Pool idle timeout settings example

I'd like to see when these guys shutdown from idle in the Event Viewer logs. So far haven't managed to make that happen. I know they're shutting down based on the reduction of w3p.exe processes in the evening and the fact that each day starts with those processes using less memory than at the end of the prev. day.

What I've Done So Far

I started at the TechNet article Logging Worker Process Recycling Events in IIS 6.0. For each App Pool I ran the following:

cscript adsutil.vbs set w3svc/AppPools/AppPoolName/EventName true

For EventName I used both AppPoolRecycleTime and AppPoolRecycleSchedule.

Next I found the How to modify Application Pool Recycling events in IIS 6.0 support article. For each App Pool I ran the following:

cscript adsutil.vbs Set w3svc/AppPools/DefaultAppPool/LogEventOnRecycle 255 

Still no luck. I suspect in either case I'm not finding the right metabase property to set on or enable.

Does anyone know what I should enable to get logging for App Pool Idle timeouts?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Awww snap. I just found this nugget:

Important The metabase property IdleTimeout does not have an associated LogEventOnRecycle property flag. Therefore, when an application pool is shut down because the IdleTimeout value is reached, an Event log entry will not be logged.

at How to modify Application Pool Recycling events in IIS 6.0 right below the data table. I missed it the first time around.

Apparently what I want to log can't be done.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.