Solved

Monitor IIS Application

Posted on 2014-02-13
2
294 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 500 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Learn about cloud computing and its benefits for small business owners.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

762 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now