I'm trying to do 'Attach to Process' for debugging in Visual Studio 2008 and I can't figure out what process to attach to. Help.
An IIS Worker Process (w3wp.exe) handles the web requests sent to the IIS web server for the configured IIS application pool. IIS application pools also provide a bunch of advanced settings. These impact the behavior of w3wp and your IIS worker process.
Worker processes provide the execution environment for all web sites and applications configured in IIS. Valuable information such as CPU utilization and memory footprint can be obtained from the API to help monitor the health of worker processes and the web server.
Double click on "Worker Processes" and you can get a list of which processes are currently running, here you can find your second process. Open the Windows Task Manager, ensure that the PID and Command Line columns are shown on the screen. For the second process, you can end it.
You don't need to have more than one worker process in order for IIS to be able to use all of your available CPUs. Multiple threads within a single worker will do that for you. That tells the runtime to allow 24 concurrent requests per CPU, instead of the default of 12.
Indeed it is still w3wp.exe - You'll need to check the 'Show processes in all sessions' option to get it to show up though.
(It caught me out for a while too.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With