tags:

views:

183

answers:

1

A simple question:

Is the AppPool same as the worker process w3wp?

If this is the case when the w3wp.exe shuts down after "idle timeout" why does the AppPool show as still running on the IIS Manager?

Also, when the w3wp.exe shuts down after "idle timeout", does it not restart automatically? or does it restart only when traffic comes into the website again?

Any help is appreciated.

A: 

An app pool can host (as the name implies) multiple processes. In that case there will be several w3wp.exe processes associated with a single app pool. This can occur when app pool settings cause an app pool process to be recycled. While the old w3wp.exe is drained down of existing connections a new one is spun up to handle new traffic.

W3WP processes, AFAIK, are only created when there is incoming traffic. A request is necessary to start the process - it is not like an NT service that starts on its own.

BTW - on server 2k3 at least - IIRC the running status just indicates that the app pool is capable of starting - it does not mean a w3wp.exe exists.
Really? Thats is news..the IIS Manager just indicates that the app pool is capable of starting and not the actual status.So when w3wp is down..it does mean that apppool is down?
AgentHunt
When a request comes in to the app pool the w3wp.exe worker process starts up. If no requests come in the worker process will not start on its own. If you want to monitor incoming requests you can use performance monitor. It will tell if there are incoming requests.