Finding the Worker Process and PID of an Application Pool in IIS

    Applies to:
  • Legacy SecureAuth IdP
Deployment model:
  • On Premises
  • SecureAuth IdP Version Affected:  9.3 and Older

    Description:  When analyzing resource utilization, you need to find out which IIS Worker Process (w3wp.exe) is running which application pool identity in order to determine if application pools need to be "split up" for better efficiency.

    Cause:  In Windows Task Manager, you see IIS Worker Processes, but you are not able to identify which worker process is hosting which application pool. . .


    Resolution:  In IIS Manager, you can view the Worker Process assignments by going into the Worker Processes section of the server itself. . .


    This will then generate the Process ID (PID) of the Worker Process associated with the application pool. . . (if the application pool is not active or sleeping, it will NOT be listed in this screen)


    . . . which you can then find in Task Manager. . .


    Special Considerations (optional as needed):  There are other ways to achieve this, including writing .vbs or .ps1 scripts to pull the information from Windows.  Writing these scripts are outside the scope of this document and normal Support Policies.



    SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.

    Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.

    0 out of 0 found this helpful



    Please sign in to leave a comment.