Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Monitor IIS Application

Posted on 2014-02-13
2
Medium Priority
?
309 Views
Last Modified: 2014-02-25
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?
0
Comment
Question by:xzay1967
2 Comments
 
LVL 13

Accepted Solution

by:
SagiEDoc earned 2000 total points
ID: 39858259
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.
0
 

Author Comment

by:xzay1967
ID: 39858786
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.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Loops Section Overview

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question