• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 313
  • Last Modified:

Monitor IIS Application

We use a ticketing system called HEAT. All of a sudden we are having issues with the self-service. To get it going again we have to restart the w3svc service. There is an application in the virtual direction called Heat Self Service. At random moments we are unable to access the heat self service console. This system has been running fine the last four years, now all of a sudden it is acting funny. We have to restart the w3svc service. I noticed in the log that was an error relating to unable to impersonate anonymous........Doing some digging I found some website mentioning w3wp.exe. Running c:\windows\system32\cscript iisapp.vbs yielded no results. Does that mean that w3wp is not running? If so, and I get change management to turn it on, will I possibly find why the application might have stopped working? I sense the self service goes down because it is losing connection to the database server. There is no dedicated service for the self service. The vendor is not offering much help with the application. By the way, the server is 2003 running IIS 6. I have not found a clear explanation what the w3wp does. From what I gather it tracks request. But does it log error that may tell why it possibly stopped working?
1 Solution
w3wp is the web service worker pool. In IIS you can configure settings that will recycle (basically flush and restart) the worker process. You can do this flush when the process hits a memory threshold or when when a certain amount of time has elapsed. I found on one of my sites I go the best results flushing the process when it reached 900mb. You will find the settings in the properties for the website on the web server.

Another thing you may want to look into is the database, have you been gathering stats and rebuilding the indexes regularly? This can have a massive performance impact on the database if it has not been done, in turn this will impact the application performance and could well result in the application having a database connection timeout.
xzay1967Author Commented:
Thanks for the response, while I will definitely take your advise, I still would like to have some method of finding out why the error. Now in terms of the database, I am not sql savvy, but will discuss with our DBA, As mentioned in my initial post, when I checked to see what applications belonged to the pool (c:\windows\system32\cscript iisapp.vbs ), it returned no results. I am concerned that the w3wp may not be running. I looked in task manager and did not see any PID for it. Am I wrong to then assume it is in fact not running? What tool can I use to monitor the application to try and nail down the cause for the error? Other than the basic task of w3wp, can it also log possible reasons for the error (unable to impersonate anonymous........or whatever other reason there maybe for the self-service going down? Like I said this system has been running for over four years. IIS is currently running in isolation mode, so I am unable to look at the pools. I would need change management to approve turning it off isolation mode. However, if doing that just so I can configure w3wp won't get  me any closer to a solution, then there is no need for me to go that route. I welcome any other advice.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now